|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Simple Java Questions about JPanels
When I changed my code to use a JPanel instead of a regular panel, my button keeps disappearing when I resize the window. It didn't do that when I used just a regular panel...
any ideas why? |
|
#2
|
|||
|
|||
|
can you post your code?
__________________
Resistance to tyrants is obedience to God. - Thomas Jefferson |
|
#3
|
||||
|
||||
|
|
|
#4
|
|||
|
|||
|
when does this method get called. If it get's called at any point after the frame is displayed then that's probably the problem.
|
|
#5
|
||||
|
||||
|
It's called in the start method. Maybe I should move it to the init method?
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > Simple Java Questions about JPanels |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|