Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Other Java > Java GUI
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Java GUI Discussions specific to programming Java GUI.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java GUI section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 10th, 2006, 05:35 PM
Registered User
Join Date: Jun 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Java Gui (Reload Class)

im making a game in java and i have come to a point where i need to reload the entire class frmMain which is impleting JFrame so in my basic program i'm calling my Main class(frmMain) and it does all the key listening and everything for that i have another class from the Main class it calls the key listening and it deoes certain things VK_UP VK_DOWN VK_RIGHT VK_LEFT is pressed and so on but when they are pressed at the end i want to reload the Main class in other words reload the gui again

i'm not using any painted objects so i assume repain() doesnt work the way the game works is it just a Grid panel with pictures and their locations are changed acording the key pressed and get saved in a file blah blah blah .. i wanted to know if can call the Main class again when this keys are pressed ( i have exit button in there too)

thank you for your help

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
is there a useful java gui design tool? yulin11 Java GUI 4 September 2nd, 2008 10:20 PM
HTML GUI for java abhinayak Java GUI 1 February 1st, 2008 03:38 AM
change TextArea in GUI from another class jermsv1 Java GUI 0 October 28th, 2003 02:50 AM
Java GUI /Input linfakngiau BOOK: Beginning Java 2 0 October 19th, 2003 03:17 AM
posting data from JAVA GUI eforce Java GUI 0 July 16th, 2003 12:00 PM

All times are GMT -4. The time now is 12:44 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.