Re: Swing components



On Fri, 31 Mar 2006 08:43:24 +0200, odwrotnie <kruskal@xxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :

Are there any components in Swing library that have built in mechanism for
moving and resizing them by mouse when the application is working?

JFrame you can drag the corners around. JSplitPane you can move the
divider. JTable you can change the column widths.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.



Relevant Pages

  • Terminal Window Size
    ... Is there a way to get the window to keep from accidentally going more ... wide while I drag the corner down? ... I've currently been moving the ... terminal to the right side of the screen and resizing, ...
    (comp.sys.mac.apps)
  • Re: Pic fine in Preview but jacked on paper
    ... Is it possible that you've actually inadvertently inserted two copies of the picture? ... To see, click what you see to select it, then drag it off a little to see if there's another copy hiding below it. ... Have tried moving it, resizing it, formatting every ...
    (microsoft.public.word.drawing.graphics)
  • Simple but revolutionary math question
    ... - Sailboats can sail close to the wind. ... So this means we have 20 mph combined drag moving at 10 mph up against ...
    (sci.math)
  • Re: jframe resize trouble - via draggable corner
    ... >JFrame that user can drag to resize JFrame. ... >Trouble is that the layout isn't updated as I drag - even after I ... Tried repaintand invalidatein mouseReleased event of ... public void mouseClicked ...
    (comp.lang.java.gui)
  • Re: Drag-n-drop - where are you?
    ... this is such a basic feature that anyone converting to Linux ... (moving chapters to different places etc.). ... I've probably used Drag and Drop maybe half-a-dozen times. ... Usually Cut-and-Paste is a lot quicker and doesn't mean resorting to using ...
    (alt.os.linux.suse)