This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jlabel.setbounds() in jpanel

 
yogessh chavaan
Greenhorn
Posts: 13
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5148
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic