Bookmark Topic Watch Topic
  • New Topic

change position of a JButton??????

 
Justin Fox
Ranch Hand
Posts: 802
  • Mark post as helpful
  • send pies
  • Report post to moderator
ok...

i create a JButton...

A = new JButton("A");
A.setToolTipText("this is A");
A.setLocation(320,280)


and the setLocation doesn't work?

why?

Justin
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Report post to moderator
was your question answered here?

http://www.coderanch.com/t/343662/GUI/java/JButton-setLocation
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Yea, I think we should stick with the older thread. Please continue discussion there.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!