This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes How to add buttons by swing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to add buttons by swing" Watch "How to add buttons by swing" New topic
Author

How to add buttons by swing

syed quadri
Greenhorn

Joined: Nov 11, 2012
Posts: 10
hi i want to add buttons by using swing i dont know how to add buttons in the frame any budy can explain how to add buttons in a frame.....
Tony Docherty
Bartender

Joined: Aug 07, 2007
Posts: 2585
    
  55
Moving to Swing forum.
Tony Docherty
Bartender

Joined: Aug 07, 2007
Posts: 2585
    
  55
syed quadri wrote:hi i want to add buttons by using swing i dont know how to add buttons in the frame any budy can explain how to add buttons in a frame.....

Please TellTheDetails (← click).
Do you want to create a program with a GUI which has buttons in it or do you want to add new buttons once the GUI is displayed ie in response to a user action.
Kemal Sokolovic
Bartender

Joined: Jun 19, 2010
Posts: 825
    
    5

Or you can go through Tutorial and learn basics of developing GUI with Swing.


The quieter you are, the more you are able to hear.
 
 
subject: How to add buttons by swing