Results 1 to 3 of 3
  1. #1
    bigj is offline Member
    Join Date
    Dec 2009
    Posts
    68
    Rep Power
    0

    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

  2. #2
    collin389 is offline Senior Member
    Join Date
    Nov 2009
    Posts
    235
    Rep Power
    6

    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.

  3. #3
    bigj is offline Member
    Join Date
    Dec 2009
    Posts
    68
    Rep Power
    0

    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?

Similar Threads

  1. Problem with JEditor Pane while resizing the frame
    By sidharth in forum SWT / JFace
    Replies: 5
    Last Post: 11-13-2009, 06:43 AM
  2. change the mouse cursor - crosshair cursor
    By cassysumandak in forum New To Java
    Replies: 1
    Last Post: 09-28-2009, 02:57 AM
  3. How to split a String using split function
    By Java Tip in forum java.lang
    Replies: 4
    Last Post: 04-17-2009, 09:27 PM
  4. Using a cursor
    By notnumber6 in forum New To Java
    Replies: 3
    Last Post: 11-26-2007, 11:56 PM
  5. How to split a String using split function
    By JavaBean in forum Java Tip
    Replies: 0
    Last Post: 10-04-2007, 10:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •