swing question# Java - 爪哇娇娃
c*t
1 楼
For some reason, when I opened a JDialog inside an ActionListener (called
from a menu item), thecomponents inside the dialog didn't get painted until
ActionListener existed. I had JProgressBar inside, that's why it was
important to have it displayed. I overrode the paint function and see
if it ever get call. None.
Any fixes to this problem?
Thanks,
from a menu item), thecomponents inside the dialog didn't get painted until
ActionListener existed. I had JProgressBar inside, that's why it was
important to have it displayed. I overrode the paint function and see
if it ever get call. None.
Any fixes to this problem?
Thanks,