Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Programmer Tools > Broken scrollba...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 587 of 628
Post > Topic >>

Broken scrollbar in Java

by Piet van Oostrum <piet@[EMAIL PROTECTED] > Mar 20, 2007 at 05:33 PM

Hello all,

I have a very strange problem: A standalone Java AWT scrollbar (i.e. used
as a slider) is not functioning in an applet with the default FlowLayout.
Only the middle part of the scrollbar is shown, i.e., without the arrows
and the slider. It also doesn't react to the mouse. When I use a
GridLayout
instead it works.

The strange thing is that my colleagues with the same setup don't have
this
problem. I have a MacBook (Intel) with Tiger 10.4.9, 
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164)
Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing)
 
but also with Java 1.4.2 I have the same problem.
I have tried it with Safari, Firefox and appletviewer, and they all do the
same. 

In fact I have copied the whole
/System/Library/Frameworks/JavaVM.Framework
directory from my boss to my computer (he has a similar machine) and it
doesn't help, although on his machine it works.

Does anybody have an idea what can be wrong?
-- 
Piet van Oostrum <piet@[EMAIL PROTECTED]
>
URL: http://www.cs.uu.nl/~piet
[PGP 8DAE142BE17999C4]
Private email: piet@[EMAIL PROTECTED]

 




 1 Posts in Topic:
Broken scrollbar in Java
Piet van Oostrum <piet  2007-03-20 17:33:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 1:20:37 CDT 2008.