Two Laptop Bag*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 4523
    
    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.
 
 
subject: jlabel.setbounds() in jpanel
 
Similar Threads
please help me
Timing ( good programming practice?)
Add greyish/ghosted drag images to the tree
Drawing in Graphic-Context of a JPanel in a JPanel
Problem when repainting rectangles