So here's how I plan to do it:
JApplet with BorderLayout
BorderLayout.NORTH has a couple of buttons
BorderLayout.CENTER has a JPanel with CardLayout
So what's my problem ?
CardLayout consists of unique cards, which in this case are different screens of my applet-cellphone. It is necessary for any single "card" to be able to change another card to be visible. I tried giving each card it's own actionlistener but it gets complicated and fast.
Does anyone know this kind of situation?
Seems like this is a normal kind of problem since a lot of programs have different "screens" ?
As always, help is much appreciated
Figuring out JApplet structure
Started by denarced, Apr 03 2009 09:02 AM
4 replies to this topic
#1
Posted 03 April 2009 - 09:02 AM
|
|
|
#2
Posted 05 April 2009 - 05:10 AM
Well smartest would be to visit my tutorial...
My tutorial
http://forum.codecal...le-version.html
Or take a view inside Javas API library !
JApplet (Java 2 Platform SE v1.4.2)
BorderLayout (Java 2 Platform SE v1.4.2)
My tutorial
http://forum.codecal...le-version.html
Or take a view inside Javas API library !
JApplet (Java 2 Platform SE v1.4.2)
BorderLayout (Java 2 Platform SE v1.4.2)
#3
Posted 06 April 2009 - 09:39 AM
Turk4n said:
Well smartest would be to visit my tutorial...
My tutorial
http://forum.codecal...le-version.html
Or take a view inside Javas API library !
JApplet (Java 2 Platform SE v1.4.2)
BorderLayout (Java 2 Platform SE v1.4.2)
My tutorial
http://forum.codecal...le-version.html
Or take a view inside Javas API library !
JApplet (Java 2 Platform SE v1.4.2)
BorderLayout (Java 2 Platform SE v1.4.2)
hmm .. is there a reason for the links to version 1.4.2 .. personally I always use the latest version ..
and yeah, I checked your tutorial .. nothing new there
even thou I noticed the sarcasm btw
#4
Posted 06 April 2009 - 01:04 PM
denarced said:
hmm .. is there a reason for the links to version 1.4.2 .. personally I always use the latest version ..
and yeah, I checked your tutorial .. nothing new there
even thou I noticed the sarcasm btw
and yeah, I checked your tutorial .. nothing new there
even thou I noticed the sarcasm btw
Well, the JApplet and Borderlayout is a "thing" from the 1.4.2 JDK, even if you use the newer the old ones are still useful plus no new JApplet or Borderlayout things within the newer JDK's only improvement and enhancements(speed most and durability).
P.S - I didn't make any sarcasm, just your imagination...
D.S - I suggested my tutorial as reference due to I have no clue what or whatever so your gonna do or so. Hence my clueless sentences...
#5
Posted 09 April 2009 - 07:58 AM
Turk4n said:
Well, the JApplet and Borderlayout is a "thing" from the 1.4.2 JDK, even if you use the newer the old ones are still useful plus no new JApplet or Borderlayout things within the newer JDK's only improvement and enhancements(speed most and durability).
P.S - I didn't make any sarcasm, just your imagination...
D.S - I suggested my tutorial as reference due to I have no clue what or whatever so your gonna do or so. Hence my clueless sentences...
P.S - I didn't make any sarcasm, just your imagination...
D.S - I suggested my tutorial as reference due to I have no clue what or whatever so your gonna do or so. Hence my clueless sentences...
hah, no sarcasm .. my mistake .. can't remember the last time I made a mistake concerning sarcasm .. hopefully last thou ..
anyway, I solved this problem on my own. I'll try and represent the solution here for future reference when I have the time


Sign In
Create Account


Back to top









