This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Resize JLable Runtime with selection border Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Resize JLable Runtime with selection border" Watch "Resize JLable Runtime with selection border" New topic
Author

Resize JLable Runtime with selection border

Mahesh Kedari
Ranch Hand

Joined: Nov 28, 2009
Posts: 111
Hi,
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 repositioning of Object with Drag. now i also want to add resize function to it.
## Please change the image location according to your machine.



Regards,
Mahesh Kedari - Fidus Technologies Ltd.
Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2156
    
    7
You might be able to use the Component Resizer.
Mahesh Kedari
Ranch Hand

Joined: Nov 28, 2009
Posts: 111
Thanks alot Rob.
Thats the solution I was searching for.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Resize JLable Runtime with selection border
 
Similar Threads
Chessboard-Newbie Question
chess game : moving piece
display image in jpanel
Queen 8 ChessBoard Example Help
Newbie problem with Event ... MouseListener