kohinoor2007
Programmer
Hi Guys,
I have a textarea component which is to be placed in the centre of 2 split panes.As I want this textarea component also to be resized using a splitpane divider,
I have put this "same textarea component" in two other spiltpanes to get the spiltpane divider(see code).
But the results doesnt't look.
It has actually produced 2 textareas(the black,& white background ones),although I have passed the same textarea.(See attached figure).
splitPaneLeftCentre = new SplitPaneLeftCentre(splitPaneLeft,ContentPane.this.textArea);
splitPaneRightCentre = new SplitPaneRightCentre(splitPaneRight,ContentPane.this.textArea);
Is it possible to put the same textarea in 2 different splitpanes.If so,what is the right way to do it...
Thanks..
I have a textarea component which is to be placed in the centre of 2 split panes.As I want this textarea component also to be resized using a splitpane divider,
I have put this "same textarea component" in two other spiltpanes to get the spiltpane divider(see code).
But the results doesnt't look.
It has actually produced 2 textareas(the black,& white background ones),although I have passed the same textarea.(See attached figure).
splitPaneLeftCentre = new SplitPaneLeftCentre(splitPaneLeft,ContentPane.this.textArea);
splitPaneRightCentre = new SplitPaneRightCentre(splitPaneRight,ContentPane.this.textArea);
Is it possible to put the same textarea in 2 different splitpanes.If so,what is the right way to do it...
Thanks..