Re: Failure to repaint

From: hiwa (HGA03630_at_nifty.ne.jp)
Date: 12/21/03


Date: 20 Dec 2003 18:23:59 -0800


"Ike" <rxv@hotmail.com> wrote in message news:<iGJEb.5273$wL6.163@newsread1.news.atl.earthlink.net>...
> I have a Swing Applet wherein I create NO new threads.
>
> There are no time-consumptive things occuring.
>
> I create an Applet which has a couple of JTables on it. The data therein is
> NOT very extensive.
>
> However, frequently, the applet seems to NOT repaint - whether being
> displayed in a browser or in NetBeans AppletViewer.
>
> For the life of me, I cannot see what might be causing this. It does not
> appear hardware-specific as it happens on all machines.
>
> Has anyone ever experienced such a thing? Anyone with any ideas what I ought
> to be looking for? Thanks, Ike

Does you applet call the repaint() method explicitly in the start()
method, assuming all the GUI are instantiated in the init() method?



Relevant Pages

  • Mouse Wheel Events Go Missing Once Embedded Onto a Web-page??
    ... A very simple java applet that catches and processes all mouse ... Could this be a java bug or am i missing something very obvious?! ... public void actionPerformed ... repaint(); e.consume;} ...
    (comp.lang.java.help)
  • Re: paint(), repaint(), animation
    ... You will need to create another thread, because the call to repaint() ... (at least within an applet) ... Here keepGoing is an instance variable of type boolean, and the startx ... You might also explore JPanel because you can create a JPanel so that ...
    (comp.lang.java.gui)
  • Re: paint(), repaint(), animation
    ... You will need to create another thread, because the call to repaint() ... (at least within an applet) ... Here keepGoing is an instance variable of type boolean, and the startx ... You might also explore JPanel because you can create a JPanel so that ...
    (comp.lang.java.gui)
  • Re: GridBagLayout: can not make a component bigger
    ... You can see the applet and the ... You can query the size of the component before you repaint it. ... I like to use BufferedImage for my offscreen buffer and then draw it to ... you will want to make your offscreen image ...
    (comp.lang.java.gui)
  • Re: Failure to repaint
    ... >I create an Applet which has a couple of JTables on it. ... The data therein is ... I've found that a lot of the difficult-to-solve repaint problems I've ...
    (comp.lang.java.gui)