JTree, JTable & JPanel with graphics on the sam ScrollBar ?

From: Mario (mzupan_at_kamen-ingrad.hr)
Date: 03/31/04


Date: Wed, 31 Mar 2004 11:50:18 +0200

I put JTree, JTable & JPanel with some draws, every on each jScrollBar and
all that in two JSplitPane so I have two removable grid and tree different
horizontal
scroll bar.

1. And now I want one vertical scrollbar for all tree components
2. question: in JPanel with the graphicsvI draw some gantt which has
changeable
    size but JScrollPanel shows only the initial size.
   I try to setPreferredSize(x,y,width,height) but how to change width &
height?



Relevant Pages

  • zoomable JPanel which can take JComponents (with full mouse support)?
    ... how it draws itself, but also so any JComponents within the panel ... and so can't be overridden to make it look in the transformed coordinate ... a JComponent calls setBackground, a repaint call seems ... to happen directly on the JComponent, and the zoomable JPanel does not get ...
    (comp.lang.java.gui)
  • Re: stopping the GUI thread
    ... I have a command line program that needs to create a JPanel an JFrame. ... However it does not show these widgets, but simply draws something onto ... If I draw the frame in the image without showing I only get ... The actual code to render the image in the JPanel is not mine. ...
    (comp.lang.java.gui)
  • Re: Ubuntu virtual terminal - characters not showing correctly
    ... when slrn has a thread opened it draws the thread ... >> tree using lines and arrows. ... slrn will draw the thread tree using simple ascii ... what's your TERM set to? ...
    (comp.os.linux.misc)
  • Re: Speed problem in adding TreeNodes to its Parent in a TreeView
    ... The commercial .NET tree products are not based on the underlying Win32 ... nodes before it draws (as most tree controls do). ... entails) - the information is sucked from the data source as required ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: Border Around JPanel
    ... the height of the JPanel is too tall. ... home dot woh dot rr dot com slash jbmatthews ... The tree button panel sits above the project tree and provides ... treeButtonPanel = new JPanel; ...
    (comp.lang.java.programmer)