• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Event to recognize splitLayoutPanel Drag ?

 
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi Ranchers!

I am trying to recognize a event on dragging the splitter of a SplitPanelLayout.

Here I am using a splitLayoutPanel through a UI binder.Left side of the Split is my Menu and the Right side is a Frame,which displays data on click of a Node from the Menu.

What I am trying to achieve here is to recognize the event on dragging the splitter so that I can Resize the Frame which is showing the data.

When I try to hide the Menu by dragging the splitter the frame moves without resizing ....

Is there a way to recognize the splitter event...

Thanks in advance...

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Write your own event listener ( use Observer pattern)
 
Rakesh Chaudhary
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vivek,

Thanks for the reply..

Can you Please provide with some more information about implementing the Observer pattern,,some links or something will be a great help

Regards
Rakesh
 
To get a wish, you need a genie. To get a genie, you need a lamp. To get a lamp, you need a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!