> OK, to simplified my question:
>
> What is the simpliest way to create one JTree, one JTable, and one JPanel
> with a Gantt draws in it like sheme bellow?
1. What?
2. Have you tried placing the entire assemblage on one panel, as suggested
repeatedly? That certainly meets your criterion that it be simple.
3. Why have you not posted your code? Create a short, compilable, working
example of the problem you face.

Signature
Paul Lutus
http://www.arachnoid.com
> What is the simpliest way to create one JTree, one JTable, and one JPanel
> with a Gantt draws in it like sheme bellow?
[quoted text clipped - 15 lines]
> for all
> components
I am not sure, but I think that a random number generator should be
involved somewhere. :o)
I have suggested placing all three components in a single JScrollPane.
Paul Lutus has mentioned this approach as well, yet you have not addressed
this approach. Is there some reason that doing that will not accomplish
your goal?
BTW, when you ask for help on something, and people who are trying to help
you ask direct questions about the problem, it is a good idea to actually
answer those questions. When you do that, you should make it clear which
question you are answering. The best approach to doing that is to quote
each question and to follow each question with an answer. For example:
=====================================================================
> What do you expect the thumb size to be based on and how are you
> expecting the scroll panes to react to motion of the scroll bar?
I want the thumb size to be based on the ...
> Is there some reason that you do not just put all three components
> in a single JScrollPane?
I don't think that will work for me because ...
=====================================================================
Got the idea?

Signature
Regards,
John McGrath
Mario_5 - 25 Oct 2004 22:44 GMT
OK, thank you on your help. I will try with one JScrollPane.
Sorry, because my English is bad (I still don't get it what is the thumb
size) and also sorry because my sheme is not like I drew.
John McGrath - 26 Oct 2004 00:36 GMT
> I still don't get it what is the thumb size
The thumb is the the part of the scroll bar that you can drag to scroll
the scroll pane. I just checked the JavaDocs for the JScrollBar class and
it metnions the word "thumb", but it mostly refers to it as the "knob". I
have also heard it referred to as the "slider".
With most systems these days, the thumb is sized so as to indicate the
percentage of the document that is visible in the scroll pane. The entire
scroll bar represents the entire document and the thumb represents the
visible portion.
If you want multiple scroll panes with a single scroll bar, then the size
of the thumb is an issue. If one scroll pane shows half of its document
and another shows one third of its document, how would the thumb be sized?
It cannot simultaneously take up one half and one third of the scroll pane.

Signature
Regards,
John McGrath