Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #1968 > unrolled thread

JSplitPane

Started by"shouvik" <shouvik@THRWHITE.remove-dii-this>
First post2011-04-27 15:36 +0000
Last post2011-04-27 15:36 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.lang.java.gui


Contents

  JSplitPane "shouvik" <shouvik@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000
    Re: JSplitPane "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:36 +0000

#1968 — JSplitPane

From"shouvik" <shouvik@THRWHITE.remove-dii-this>
Date2011-04-27 15:36 +0000
SubjectJSplitPane
Message-ID<74c501c240a28@uwe>
  To: comp.lang.java.gui
Hi all,

I have a requirement where I'm restricted to use Swing Pkg. Is there any
class available in AWT which can mimic the functionality of JSplitPane Class
of Swings..
Please could you help me with this. 

Thanks and Regards
Shouvik

-- 
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-gui/200707/1

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [next] | [standalone]


#1971

From"Roedy Green" <roedy.green@THRWHITE.remove-dii-this>
Date2011-04-27 15:36 +0000
Message-ID<d9ts83p61vlouoqetr3aitv98diccukih0@4ax.com>
In reply to#1968
  To: comp.lang.java.gui
On Fri, 06 Jul 2007 13:59:45 GMT, "shouvik" <u14546@uwe> wrote, quoted
or indirectly quoted someone who said :

>I have a requirement where I'm restricted to use Swing Pkg. Is there any
>class available in AWT which can mimic the functionality of JSplitPane Class
>of Swings..
>Please could you help me with this. 

You would have to write your own. You could start with a Component
that was a Panel containing two Panels. You control the sizes with a
method similar to the Swing.  It causes them to change size and call
invalidate validate.

You then get he fun of trapping mouse drags to resize.  See
http://mindprod.com/jgloss/event11.html.

You can also look inside the code in src.jar for how Sun implemented
theirs.  I will likely be much more complicated than you need.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.gui


csiph-web