• Post Reply Bookmark Topic Watch Topic
  • New Topic

swing design problem

 
Puneet N Vyas
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have designed the GUI as follows i have added two panels and provided border on them,i inserted two text areas into them,and then i have spilted it vertically via spilt pane,now i want following things,like adding vertical scrollbar,i tried adding scrollpane onto text area onto bootom panel(2nd panel),but it seems to be not working,also any method via which i can fix the spilt pane so tht it can't be resized..



thanks for support
 
Campbell Ritchie
Marshal
Posts: 52581
119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most Components have a method setResizable() or similar; go and look for that and see whether it helps.
Look up JScrollPane in the API and the Java Tutorials for more instructions.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!