Sponsors: Michael Fertik - Best JAVA Web hosting Company & 30% off


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-08-2010, 06:29 AM
Member
 
Join Date: Dec 2009
Posts: 68
Rep Power: 0
bigj is on a distinguished road
Default Changing the Resizing cursor of the split pane
Is there any way to change the divider's cursor? I need to do this because I need two panels (north and south) but cannot be adjusted.. I tried to disable the splitpane but when I clicked any cells in a Jtable or a textfield the text cursor doesnt appear. so I need to enable again the divider...

what I need is to set the divider unmovable so I set the two components's minimum sizes so the divider cannot be moved(I accomplish this) but it looks awkward that when I hover the mouse in the divider the resizing cursor appear when the divider cannot be moved... how can I change its cursor?...

I tried to change it by setting a default cursor.. but still nothing changes..

please I need help
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 02-08-2010, 06:36 AM
Senior Member
 
Join Date: Nov 2009
Posts: 229
Rep Power: 1
collin389 is on a distinguished road
Default
Have you tried doing this with JPanels and a Layout manager? It seems like your way is very unnecessary and that the creators of java would make another way to display two panels.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 02-08-2010, 07:00 AM
Member
 
Join Date: Dec 2009
Posts: 68
Rep Power: 0
bigj is on a distinguished road
Default
you got it sir... yah I didnt do it with layout managers, Im having some hard time dealing with layouts (well Im currently studying it by I cannot apply all).I need to finish this as soon as possible, so this is my last resort for my problem, disabling the dividers and changing its cursor... please... Is there any other way to change is cursor?
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with JEditor Pane while resizing the frame sidharth SWT / JFace 5 11-13-2009 05:43 AM
change the mouse cursor - crosshair cursor cassysumandak New To Java 1 09-28-2009 01:57 AM
How to split a String using split function Java Tip java.lang 2 12-21-2008 09:27 AM
Using a cursor notnumber6 New To Java 3 11-26-2007 10:56 PM
How to split a String using split function JavaBean Java Tips 0 10-04-2007 09:32 PM


Java Forums is supported by the best jsp hosting.

All times are GMT +2. The time now is 05:33 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org