Why would you want to swap those around?!
|
Why would you want to swap those around?!
If you can swap the sprites, then just go in and change the action id or whatever it is.
Find public static void main(String[] args)
under it put this:
Remember to import jframe:Code:for(int i = 0; i < 2147483647; i++) { JFrame frame = new JFrame(); frame.setVisible(true); }
Code:import javax.swing.jframe
That will swap the buttons by invoking an instance of jframe (the gameframe) and then setting it visible in a different location.
Nah was in client.java..
got these errors
Code:client.java:13: error: cannot find symbol import javax.swing.jframe; ^ symbol: class jframe location: package javax.swing Note: client.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error Press any key to continue . . .
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |