Ok, using validate now.
It works and changes the content of the window to the 'Camera' class.
Now 'Camera' uses a working keylistener, but in switching to it with validate I loose control......
Type: Posts; User: LasOz
Ok, using validate now.
It works and changes the content of the window to the 'Camera' class.
Now 'Camera' uses a working keylistener, but in switching to it with validate I loose control......
It does print "Boo" every time I click.
So simply "refresh" the layout? May I ask why when I have mainwindow.add(startMenu()) with mainwindow.add(Camera()) directly after it that the window...
Ah, sorry!
When I click, the content of 'Camera' is not displayed; instead the content of 'startMenu' remains on the screen.
Thanks! I went with your mouselistener idea and I've run into another little problem.
I'd like what's displayed to change from 'startMenu' to 'Camera' upon a click (there are some pointless lines...
Hello there,
I'd like to quickly start off by saying after contemplating what section to post this in this one seemed more appropriate then any of the other sections, though I have a gut feeling...