• Post Reply Bookmark Topic Watch Topic
  • New Topic

Slow slow!!

 
Ger Sweeney
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Im after developing an editor in swing nad have noticed that on scrolling the text muddles together however when you click on the text it corrects itself. My VM is jdk1.3.1_01 and my OS is Windows ME(no abuse!!). Is double buffering the only method to overcome this problem, if so could someone direct me to a good site on this.
Thanks,
Ger
 
Mr. C Lamont Gilbert
Ranch Hand
Posts: 1170
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
first try 1.3.1_06 second try turning off directDraw
cant remember the command line option to turn off directDRaw at the moment.
 
Ger Sweeney
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
Got the command it's
-Dsun.java2d.noddraw=true
Cheers
Ger
 
Chantal Ackermann
Ranch Hand
Posts: 508
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Ger,
JViewport provides 3 different scroll modes. in 1.4 BLIT_SCROLL_MODE is the default, but in 1.3 it's another one. the tutorial states that the BLIT_SCROLL_MODE might be more efficient.
Chantal
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!