This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

scroll bar slider missing  RSS feed

 
peter m hayward
Ranch Hand
Posts: 77
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using netbeans 8.1 java 8 this is a problem that i am sure i did not have with the digital monitor but as i no longer have it i can not check any way here is the problem
the slider on the scroll bars is missing however if use the mouse as if it was there it works and adjusts the values as you move the mouse

i have tried changing background and forground colours visibility etc, can not seem to find what is causing the issue

anybody any ideas?
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which OS and Look'n'Feel? Can you post a SSCCE that demonstrates the problem?

What's a digital monitor?
 
peter m hayward
Ranch Hand
Posts: 77
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this code relates to a little project i put togeter to test this problem
it is just a simple jfram with a jpanel a textfeild and the scroll bar
when it runs the scroll bar values are displayed in the textfeild and the the slider is missing

as to your comment about look and feel i not sure how to go about changing it also why whould that only effect part of the component the slider its self is displyed just missing the handle

regards pete
 
Tony Docherty
Bartender
Posts: 3264
81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You haven't supplied all the code so we can't see what you are trying to do. Please post the whole class.
 
Darryl Burke
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, what happens if you don't set Nimbus as the look and feel?
 
peter m hayward
Ranch Hand
Posts: 77
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you for you help and trying to help me here is all the cod insid the package there is no other classes
 
Liutauras Vilda
Marshal
Posts: 4473
299
BSD
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peter, please remind yourself how to UseCodeTags (<- link) properly. I corrected them for you.
 
Tony Docherty
Bartender
Posts: 3264
81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see three scrollbars (two them swing, one of them AWT) all with all of their appropriate parts.

I suggest you do a Darryl has already suggested and use the system L&F rather than Nimbus and see if that works for you.
 
peter m hayward
Ranch Hand
Posts: 77
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i just change it to system, which correct the issue however it now looks rather clunky

is there something i can do about this in the windows xp set up some where

thinking back to when i had the other monitor i had not of these issues, that monitor had a digital input so i am guessing that had some bearing on the problem

still not sure why changing the look and feel should effect only part of the component ?

final though i need to brush up on some of the fundamentals of java

thanks for your help
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!