Results 1 to 8 of 8
Thread: DefaultListModel Elements
- 10-23-2009, 03:58 PM #1
Member
- Join Date
- Aug 2009
- Posts
- 56
- Rep Power
- 0
- 10-23-2009, 04:03 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,408
- Blog Entries
- 7
- Rep Power
- 17
- 10-23-2009, 04:16 PM #3
Member
- Join Date
- Aug 2009
- Posts
- 56
- Rep Power
- 0
I understand but how should I go about setting the font of element of the list?
- 10-23-2009, 04:25 PM #4
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,408
- Blog Entries
- 7
- Rep Power
- 17
- 10-23-2009, 05:41 PM #5
Member
- Join Date
- Aug 2009
- Posts
- 56
- Rep Power
- 0
Ok, Thanks.
I have another question if I have a table and has data as follows, how can I set the font of the string hello?
Thank youJava Code:data[1][0] = "hello";
- 10-23-2009, 06:00 PM #6
Senior Member
- Join Date
- Jul 2009
- Posts
- 1,143
- Rep Power
- 5
Strings don't have fonts.
- 10-24-2009, 02:45 AM #7
Member
- Join Date
- Aug 2009
- Posts
- 56
- Rep Power
- 0
Does that mean that there is no way that I can change the font of the string "hello"?
- 10-24-2009, 03:23 AM #8
Senior Member
- Join Date
- Jul 2009
- Posts
- 1,143
- Rep Power
- 5
See reply 6.
If you need further help then you need to create a SSCCE, that demonstrates the incorrect behaviour.
Similar Threads
-
DefaultListModel being updated in another class (by reference?)
By rickyoswald in forum Advanced JavaReplies: 3Last Post: 04-24-2009, 06:28 PM -
what does <Elements> mean
By JordashTalon in forum New To JavaReplies: 1Last Post: 01-31-2009, 10:19 PM -
Negative elements
By swikar.java in forum New To JavaReplies: 6Last Post: 12-15-2008, 04:48 AM -
using elements from other classes
By Camden in forum New To JavaReplies: 1Last Post: 03-21-2008, 07:25 AM -
Elements package
By BlitzA in forum New To JavaReplies: 0Last Post: 12-27-2007, 11:58 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks