Well,
my text may be very hugh, because it is source-code of websites.
Anyway, I searched the API and couldn't find what can I do with this JTextPane.
I'll try later today your tip about JScrollPane.
Wow....
Swing is driving me crazy!!! :-)
Can you give me a working example?
I tried
JScrollPane scroll = new JScrollPane();
scroll.setViewportView(ta);
ta is the JTextArea.
Can you tell me what's wrong?
Hello.
I have a very weird problem using JTextArea class.
Whenever i put large amount of text in it,
it is getting hugh and controls on my screen.
in TextArea class, it gets an automatic scrollbar.
How to I make the same thing in JTextArea?
please help me...
I don't want to nag you, but your example doesn't use
the BufferedImage class.
I wan't to use an object of this class in order to use
the setRGB() method of this class.
(I want to create fade effect).
Is there another way to create fade effect?
I need help in updating a URL object's value when a button is being pressed.
I have Textfield names tf and a url Object names page
I tried the following:
public void action(Event evt, Object arg) {
if (evt.target instanceof Button) {
page = tf.getText();
return true;
}
else...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.