aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes jlabel.setbounds() in jpanel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "jlabel.setbounds() in jpanel " Watch "jlabel.setbounds() in jpanel " New topic
Author

jlabel.setbounds() in jpanel

yogessh chavaan
Greenhorn

Joined: Apr 08, 2011
Posts: 13

Hello ,

I m trying to work with the following code in order to change the location of jlabel at runtime , but when i minimize the frame, the jlabels get set back to their original positions .
Could any one help please ? i have a frame , a jpanel on it and a jlable on jpanel which i want to position on mouse drag.

Thanks in advance !
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4638
    
    5

yogessh chavaan wrote:

What?But please follow standard Java coding conventions; variable names should start with a lowercase letter. the uppercase X doesn't conform to the convention.


luck, db
There are no new questions, but there may be new answers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jlabel.setbounds() in jpanel