0

All,

I am using Netbeans 7.2 to build a form. I added a Swing JTextArea to my form and all is well. I'd like to add a titled border to my JtextArea (or the JScrollPane in which it lives) but can't figure out how.

I tried Right Click > Properties but I don't see anything for title. I also tried Right Click > Customize Code, but I don't see where to add the BorderFactory code to generate the border & title.

Does anyone how is this done?

Thanks,
Bill

2
Contributors
2
Replies
4
Views
5 Years
Discussion Span
Last Post by WDrago
0

Look in the Properties window at the 'border' property. Click the builder button "..." on the right-hand side.

0

Wow! That's it! I can't believe how much time I wasted trying to figure this out.

Thanks,
Bill

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.