Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

swing display issue on Laptops

 
Sri Rangan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What about the OS and JVM versions? Are they exactly the same for the desktop and laptop systems?
 
Sri Rangan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Laptop has W2K and the resoloution is 800X600. Any help would be apppreciated.
 
Sri Rangan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops. I forgot the JVM version. It is 1.4.1
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What about the desktop machines? Do they have the same JVM version, OS version, and screen resolution?
 
Sri Rangan
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes. Both desktop and laptop have same resolution and JVM.
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could be a graphics card issue.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic