• Post Reply Bookmark Topic Watch Topic
  • New Topic

2 dotted lines between two panels  RSS feed

 
tadi raja
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a doubt using splitpane,i have two panels,on left hand side "search options" panel and right hand side "search" panel.when i use splitpane,those two panels are seperated by 2 dotted lines, i want to show only one dotted line between those two panels.please find the attached screen shot for the same any idea please help me

thank you in advance
2dottedlines.JPG
[Thumbnail for 2dottedlines.JPG]
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
tadi raja
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
even if i use JSplitPane.setDividerSize(8) in the code, i didn't get any change for my screen
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Must we go through this in all the posts?

1) We are not magicians.
2) We cannot imagine what your code looks like.
3) Until we can see your code, we cannot help you figure out whats going wrong.


Show us some sscce code which will illustrate this problem.
 
tadi raja
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Thank you for your replies.actually my problem is that splitpane having divider to seperate two panels,the main problem is that once i drag the splitpane there is a gap(space) between two panels mentioned in the screen shot.The problem is not the dotted lines.i will send the small part of the code also.

 
Rob Camick
Ranch Hand
Posts: 2756
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have never seen a JSplitPane with a divider that looks like that so it must be a custom LAF, in which case it is a LAF problem.

If its not a custom LAF and you need further help then you need to create a SSCCE (Short, Self Contained, Compilable and Executable, Example Program), that demonstrates the incorrect behaviour.

Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!