aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes swing display issue on Laptops Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "swing display issue on Laptops" Watch "swing display issue on Laptops" New topic
Author

swing display issue on Laptops

Sri Rangan
Ranch Hand

Joined: Dec 08, 2001
Posts: 160
Our swing application works fine in desktops, but in laptops, in some screens the display starts messing up, especially when user enters some value in textfields and tab off. Looks to me a repaint issue. Why does this happen in laptops alone.
Any ideas?
Sri
Chantal Ackermann
Ranch Hand

Joined: Sep 28, 2000
Posts: 508
maybe the reason is the difference in the screen resolution on lap tops. if the frame on the laptop is smaller than on a bigger monitor, and the layout is not created properly it might get messed up.
to check whether this is the case, you could change the screen resolution of the desktops to that of the laptops and see what happens?
cheers,
chantal
Murtaza Hussaini
Greenhorn

Joined: Apr 24, 2002
Posts: 6
Originally posted by Sri Rangan:
Our swing application works fine in desktops, but in laptops, in some screens the display starts messing up, especially when user enters some value in textfields and tab off. Looks to me a repaint issue. Why does this happen in laptops alone.
Any ideas?
Sri

This is not coz' of laptop LCD screens. This sometime happens on the desktop monitors too. The reason is coz' of windows system files. Listen what had happened with me:
I was using two OS ( Windows98 and WindowsNT) dual booting on my PC. The java application windows(JFrame, JDialog) messed up in Windows98 while that same application runs smoothly on windowsNT. So, what do you think?
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

What about the OS and JVM versions? Are they exactly the same for the desktop and laptop systems?


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Sri Rangan
Ranch Hand

Joined: Dec 08, 2001
Posts: 160
Laptop has W2K and the resoloution is 800X600. Any help would be apppreciated.
Sri Rangan
Ranch Hand

Joined: Dec 08, 2001
Posts: 160
Oops. I forgot the JVM version. It is 1.4.1
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

What about the desktop machines? Do they have the same JVM version, OS version, and screen resolution?
Sri Rangan
Ranch Hand

Joined: Dec 08, 2001
Posts: 160
yes. Both desktop and laptop have same resolution and JVM.
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
Could be a graphics card issue.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: swing display issue on Laptops