Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #2249

Re: Question: Gui Looks D

From "Thomas Kellerer" <thomas.kellerer@THRWHITE.remove-dii-this>
Subject Re: Question: Gui Looks D
Message-ID <5igkl9F3p73ifU1@mid.individual.net> (permalink)
Newsgroups comp.lang.java.gui
References <bo36c31gg46rbj08jdk8vmg3fk9bequt76@4ax.com>
Date 2011-04-27 15:38 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui


Ken Browning wrote on 15.08.2007 16:38:
> I am a fairly new java developer, so the answer to my question may be
> obvious to the veterans, but it is not obvious to me, so here goes.  I
> have an application that has several progress bars  and other guid
> widgets in it.  On the system (a desktop with CRT) where the code was
> developed the GUI looks normal.  If I run the same code on my laptop,
> the app still runs but the GUI is not drawn correctly. Is there a fix
> (easy or otherwise) for this?  Many thanks in advance,
> Ken Browning

I assume you are using a Windows computer. In that case problems with painting 
in Java are most of the time caused by problems in the graphics driver. Try 
running your application with -Dsun.java2d.noddraw=true to turn off the usage of 
DirectDraw in Java. That might fix your problems. If it doesn't try to upgrade 
your graphics driver on the laptop.

Thomas

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Question: Gui Looks Diffe "Ken Browning" <ken.browning@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
  Re: Question: Gui Looks D "Karsten Lentzsch" <karsten.lentzsch@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
    Re: Question: Gui Looks D "Ken Browning" <ken.browning@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
      Re: Question: Gui Looks D "Karsten Lentzsch" <karsten.lentzsch@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
  Re: Question: Gui Looks D "Thomas Kellerer" <thomas.kellerer@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
  Re: Question: Gui Looks D "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000

csiph-web