Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

GUI and Browse  RSS feed

 
Kathleen McDermott
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I was just wondering could anyone help me. Im trying to create a GUI that will take in a file selected from somewhere on your hard disk in order to have it tested for code smells. I just have not a clue how to import the file or even how to create such a thing in the GUI.
I would appreciate any help.
Thanks
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

You can use JFileChooser to select the file.
You can find more info about creating Swing GUIs here http://download.oracle.com/javase/tutorial/uiswing/

King Kong wrote:.. have it tested for code smells.

What is code smells?

 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!