Results 1 to 2 of 2
Thread: JTextArea
- 11-30-2010, 10:35 AM #1
Member
- Join Date
- Nov 2010
- Posts
- 10
- Rep Power
- 0
JTextArea
Hi, does anyone know how to set a background image to JTextArea?
Here is my code,
Assume that my variable for the image is WallPostBg.Java Code:private JTextArea getJTextAreaWallPost1() { if (jTextAreaWallPost1 == null) { jTextAreaWallPost1 = new JTextArea(); jTextAreaWallPost1.setBounds(new Rectangle(235, 224, 330, 70)); jTextAreaWallPost1.setLineWrap(true); jTextAreaWallPost1.setText("Hi, I am selling Yamaha Classical Guitar at $100.00 are you interested?"); jTextAreaWallPost1.ins } return jTextAreaWallPost1; }
Thanks.
- 12-01-2010, 04:51 AM #2
Similar Threads
-
JTextArea
By PhQ in forum AWT / SwingReplies: 10Last Post: 03-28-2010, 06:17 PM -
JTextArea on PopUp -JTextArea isn't editable
By Richy76 in forum AWT / SwingReplies: 3Last Post: 02-01-2010, 07:51 PM -
Tab key in JTextArea
By KristoZ in forum New To JavaReplies: 1Last Post: 09-25-2009, 07:27 PM -
About JTEXTAREA
By makpandian in forum AWT / SwingReplies: 4Last Post: 03-19-2009, 06:53 AM -
JTextArea
By saytri in forum New To JavaReplies: 0Last Post: 01-13-2008, 01:07 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks