Modal JDialog Components not Painting

From: Kevin Munro (kevin_remove8839421_at_c3amulet.com)
Date: 11/12/03

  • Next message: fix: "Re: Cannot divide into an 1:2 fashion by GridBagLayout"
    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.


  • Next message: fix: "Re: Cannot divide into an 1:2 fashion by GridBagLayout"

    Relevant Pages

    • Is RAPI the only way for sync data in my situation?
      ... We have an PDA Application which does data collection and store in SQL ... We have another application which runs on laptop against sql ... We need to sync data between these two database, basically, ...
      (microsoft.public.dotnet.framework.compactframework)
    • Re: OrchidWiz CD
      ... new PC or laptop would certainly be capable of giving decent performance ... PDA of 2015 may be well suited to such an application. ... database is maintained on the internet and the client application running on ... PDA technology is too new and anemic for the kinds of software I presently ...
      (rec.gardens.orchids)
    • Moving Access Database
      ... I set up a database on my laptop and now want to move it to a coworker's ... where she would use it and control it. ... permissions and access to her computer? ...
      (microsoft.public.access.gettingstarted)
    • Re: Is RAPI the only way for sync data in my situation?
      ... SQL Server 2005. ... PDA, maybe it was long time ago and I can not remember. ... from laptop to invoke pda to export data and load into SQL. ... I was using read/write tolaptop SQL database directly but some ...
      (microsoft.public.dotnet.framework.compactframework)
    • Re: Is RAPI the only way for sync data in my situation?
      ... PDA, maybe it was long time ago and I can not remember. ... laptop, right, then I will keep working on read/write SQL directly ... from laptop to invoke pda to export data and load into SQL. ... I was using read/write tolaptop SQL database directly but some ...
      (microsoft.public.dotnet.framework.compactframework)