• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Urgent - Draggable Components??

 
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am developing a Chat application. It is almost over, just that it needs a little modification.
The GUI appears something like this
|-----------------------------|
| |
| JTextPane |
| |
|-----------------------------|
| JTextArea |
| |
|-----------------------------|
________
| | SEND |
|_______|
Now that u know how my message box looks. I am using Borderlayout to achieve this look. Now what i want is that i should be able to drag the boundary between the JTextArea and JTextPane. How do i achive this??
Kindest regards
...saj
 
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sajee,
Check out the JSplitPane. You can have it hold the text components in the center of a BorderLayout and have the button in the south part of a BorderLayout.
Regards,
Manfred.
[This message has been edited by Manfred Leonhardt (edited July 24, 2001).]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic