Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #2245 > unrolled thread
| Started by | "Ken Browning" <ken.browning@THRWHITE.remove-dii-this> |
|---|---|
| First post | 2011-04-27 15:38 +0000 |
| Last post | 2011-04-27 15:38 +0000 |
| Articles | 6 — 4 participants |
Back to article view | Back to comp.lang.java.gui
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
| From | "Ken Browning" <ken.browning@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:38 +0000 |
| Subject | Question: Gui Looks Diffe |
| Message-ID | <bo36c31gg46rbj08jdk8vmg3fk9bequt76@4ax.com> |
To: comp.lang.java.gui 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 --- * 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
[toc] | [next] | [standalone]
| From | "Karsten Lentzsch" <karsten.lentzsch@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:38 +0000 |
| Subject | Re: Question: Gui Looks D |
| Message-ID | <f9v4md$6em$03$1@news.t-online.com> |
| In reply to | #2245 |
To: comp.lang.java.gui Ken, > [...] 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? [...] The Look&Feel differs with the Java version you're using. Sun has improved the Windows and cross-platform L&fs with every version; the newer the better. I provide the free JGoodies Windows L&f that is based on the Sun Windows L&f. It corrects a bunch of issues Sun's Windows L&f and adds some options. Find more information here: https://looks.dev.java.net/ -Karsten Lentzsch --- * 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
[toc] | [prev] | [next] | [standalone]
| From | "Ken Browning" <ken.browning@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:38 +0000 |
| Subject | Re: Question: Gui Looks D |
| Message-ID | <0a66c35jedf1hen85fik7n5c2lslr3evq7@4ax.com> |
| In reply to | #2247 |
To: comp.lang.java.gui The Java SDK/JRE versions (the latest from the Sun web site) are the same on both machines, so there is no difference there. On Wed, 15 Aug 2007 17:04:56 +0200, Karsten Lentzsch <karsten@jgoodies.com> wrote: >Ken, > >> [...] 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? [...] > >The Look&Feel differs with the Java version you're using. >Sun has improved the Windows and cross-platform L&fs >with every version; the newer the better. > >I provide the free JGoodies Windows L&f that is based >on the Sun Windows L&f. It corrects a bunch of issues >Sun's Windows L&f and adds some options. Find more >information here: https://looks.dev.java.net/ > >-Karsten Lentzsch --- * 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
[toc] | [prev] | [next] | [standalone]
| From | "Karsten Lentzsch" <karsten.lentzsch@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:38 +0000 |
| Subject | Re: Question: Gui Looks D |
| Message-ID | <f9v7nc$o33$01$1@news.t-online.com> |
| In reply to | #2248 |
To: comp.lang.java.gui Ken Browning wrote: > The Java SDK/JRE versions (the latest from the Sun web site) are the > same on both machines, so there is no difference there. Sure? And the classpath is the same? The Sun (and JGoodies) Windows L&f aim to honor the desktop settings including the theme, font rasterizer algorithm and some fonts. What are the differences you're seeing? You may provide two screenshots, so we can see the differences. -Karsten --- * 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
[toc] | [prev] | [next] | [standalone]
| From | "Thomas Kellerer" <thomas.kellerer@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:38 +0000 |
| Subject | Re: Question: Gui Looks D |
| Message-ID | <5igkl9F3p73ifU1@mid.individual.net> |
| In reply to | #2245 |
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
[toc] | [prev] | [next] | [standalone]
| From | "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:38 +0000 |
| Subject | Re: Question: Gui Looks D |
| Message-ID | <05b6c3tmgjgfja42pbtugof12et5qt0vo5@4ax.com> |
| In reply to | #2245 |
To: comp.lang.java.gui On Wed, 15 Aug 2007 09:38:36 -0500, Ken Browning <kenbrow@bellsouth.net> wrote, quoted or indirectly quoted someone who said : > 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. I trust you used a layout, not absolute positioning. See http://mindprod.com/jgloss/layout.html If you didn't, you are coding for only one machine. Does one of the machines have a larger default font configured?. This can confuse. See http://mindprod.com/jgloss/ruler.html to get a Mioplanet software ruler to measure the heights and widths of various things in pixels to see exactly what is wrong. -- Roedy Green Canadian Mind Products The Java Glossary http://mindprod.com --- * 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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.gui
csiph-web