Modal JDialog Components not Painting
From: Kevin Munro (kevin_remove8839421_at_c3amulet.com)
Date: 11/12/03
- Previous message: Babu Kalakrishnan: "Re: Painting on a JPanel - HELP!"
- Next in thread: ak: "Re: Modal JDialog Components not Painting"
- Reply: ak: "Re: Modal JDialog Components not Painting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 12 Nov 2003 14:03:47 -0000
Hello, I'm writing a java app JDK 1.3 on my laptop and deploying it onto a
PDA.
Everything works fine on the laptop but on the PDA I get a paint/refresh
problem on the modal JDialog.
When I show() it only one control is visible, the control that has the
focus.
The method createContextTable(workorder) fills records from a database into
a JTable and if I comment it out I get no problems with the display - all
the controls are visible.
So it looks like the extra time involved for the PDA to get the records back
from the database is causing a delay which is upsetting the painting?
A snippet of code is:
contentPane.add(label1);
contentPane.add(serial); etc..
contentPane.validate();
contentPane.repaint();
// createContextTable(workorder);
dialog.show();
I've searched the newsgroups for similar problems but they all seem to refer
to non modal JDialogs and threads.
Thanks, Kevin.
- Previous message: Babu Kalakrishnan: "Re: Painting on a JPanel - HELP!"
- Next in thread: ak: "Re: Modal JDialog Components not Painting"
- Reply: ak: "Re: Modal JDialog Components not Painting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|