Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

My PC Crashes with AWT/Swing...  RSS feed

 
Timothy Sam
Ranch Hand
Posts: 751
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I was playing around with AWT/Swing programs... However, when I create even a single JLabel my PC Crashes... I have the following specs..

PIII - 550 Mhz
Hdd - 20 MB
RAM - 256
VideoCard - 64 MB
JDK - 1.4

could you give me a hint of the possible reason? Thanks!
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24215
37
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You've left out perhaps the most significant part of these specs: the OS.

But the standard advice is to make sure the OS is fully patched -- i.e., you've applied all the available patches from the vendor -- and the video drivers are also, similarly, fully patched, and then finally, make sure you're using the latest patch level of the appropriate JDK (1.4 is not very specific -- the very latest version of 1.4 from Sun is 1.4.2_09 .
 
Scott Selikoff
author
Bartender
Posts: 4081
21
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Although this may not be it based on the specs you listed you may want to consider Anti-alias settings as described in this post:

Topic: Exiting Java-dependent apps causes restart

It may be related to video drivers, although this is primarily a problem with newer computers/cards, not older ones.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!