aspose file tools
The moose likes Swing / AWT / SWT and the fly likes Display error in CardLayout Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "Display error in CardLayout" Watch "Display error in CardLayout" New topic
Author

Display error in CardLayout

Yohan Weerasinghe
Ranch Hand

Joined: Oct 07, 2010
Posts: 484

I having a problem in getting the Card Layout into the display. When I open the applet, I get nothing but a blank area. No errors. I want to click on the Next button, and that should open the card2 layout. Please help me. Here is my code.



Please help me


Are you better than me? Then please show me my mistakes..
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35237
    
    7
There's no code that initializes "ourLayout" to anything, so you're using a null layout.


Android appsImageJ pluginsJava web charts
Yohan Weerasinghe
Ranch Hand

Joined: Oct 07, 2010
Posts: 484

Thank you! I am so Happy...Thanks again!!! Thanks!!!
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Display error in CardLayout
 
Similar Threads
Form validation error
JScrollPane
Form validation error
Error in FileReader
How to call variables in one applet using another applet?