Computer Science Canada Problems seeing Swing |
Author: | Talion [ Wed Oct 24, 2007 10:32 pm ] | ||||
Post subject: | Problems seeing Swing | ||||
Erm I'm not entirely sure what my problem is, but I'm just practicing some rather simple Java stuff and i'm having issues. Just decided as a refresher i'd make a really really basic face ![]()
As you can see, just refreshing myself on really really simple things >>;
This is what i've done to run it. I assumed that would work, and it compiles fine and runs itself, but when it does it's just a blank screen. Am I missing something here? :S I hate to ask such a question but the sooner I remember all this stuff the better and i'm not above asking for help in relearning stuff i've forgotten ![]() |
Author: | Aziz [ Sun Oct 28, 2007 12:41 pm ] |
Post subject: | RE:Problems seeing Swing |
Not quite sure, but it could probably be something to do with the fact that you're using a JComponent. Usually you can just subclass JPanel. See if that makes a difference. |