posted 19 years ago
Hey again!
by overridering this in JTextPane
public void setBounds(int x, int y,int width, int height)
{
Dimension size = this.getPreferredSize();
super.setBounds(x
,y
,1000+Math.max(size.width, width)
,height
);
}
i get the horixontal scroller like i whant, but if i try to scroll it just jumps back on place 0 again?
ples help
//JImmy