View Single Post
  #1 (permalink)  
Old 07-22-2007, 04:20 AM
ineedhelp ineedhelp is offline
Member
 
Join Date: Jul 2007
Posts: 2
ineedhelp is on a distinguished road
I am having trouble with scrollbars in netbeans 5.5.1
I am having trouble with scrollbars in netbeans 5.5.1 I have already written the rest of the program and it works I just can't get the scrollbars working on my GUI. All of the books that I have looked at only show the full script that creates the scrollbars then sets the parameters etc. I have tried lots of different scripts from the text books and websites but nothing gets the scrollbars functioning.

I have tried right clicking the mouse button on scrollbar and then clicking on event and then adjustment and then adjustmentValueChanged. I was then shown the script and as follows,

"private void jScrollBar1AdjustmentValueChanged(java.awt.event.A djustmentEvent evt) {
// TODO add your handling code here:"

I know that I have to delete the // TODO add your handling code here and then enter the handling code. I have tried everything but I cannot get it to work. Can anybody provide me with the code that I need to get the scrollbar functioning or any other information, all help would be greatly appreciated.

Thank you.
Reply With Quote
Sponsored Links