1. Resizable border between text areas coderanch.comIn a typical Instant Messaging chat window, there are 2 text areas - 1 on top and another on the bottom. Usually we can freely shift the border between the 2 text areas - up and down, thus resizing the text areas. 1 will grow larger as the other grows smaller. How can I implement this with AWT ? Some sample ... |
2. Resize JLable Runtime with selection border coderanch.comHi, I am designing an application for Map. In this map, I am allowing user to add new objects such as street, building etc. These objects will be JLables with different images. How can i add selection border to JLabel so that User can change the size of component runtime? Below is a sample code in which i have added a ... |