Results 1 to 4 of 4
- 03-27-2008, 12:50 PM #1
Member
- Join Date
- Mar 2008
- Posts
- 2
- Rep Power
- 0
how to set font size for a xml value
Hi All,
String inputRawXML = "<Test1>" +
"<test>A019876543210</test>"
+ "</Test1>";
org.jdom.Document inputDoc = null;
try{
inputDoc=util.createDocumentFromXmlString(inputRaw XML);
}
catch(Exception e){
e.printStackTrace();
}
//Getting the test xml value in string variable 'test1'
String test1 = inputDoc.getRootElement().getChildText("test");
Here, how can i set the font size of test1 variable?
Thanks in advance...
Thanks,
Bala_kj
- 03-28-2008, 01:49 PM #2
Is this variable going to be printed out to a file or just in the console?
Did this post help you? Please
me! :cool:
- 04-01-2008, 10:54 AM #3
Member
- Join Date
- Mar 2008
- Posts
- 2
- Rep Power
- 0
In file i have to display
- 04-01-2008, 11:00 AM #4
Similar Threads
-
How to change font/ font color etc in a graphic object using JCombobox?
By JavaInLove in forum AWT / SwingReplies: 5Last Post: 04-25-2009, 08:00 PM -
Swing - Changing component default font
By Java Tip in forum Java TipReplies: 0Last Post: 03-11-2008, 10:52 PM -
JTable with Font
By Rama Koti Reddy in forum AWT / SwingReplies: 1Last Post: 12-12-2007, 05:22 PM -
Help with save font information in jtextarea
By valery in forum New To JavaReplies: 1Last Post: 08-06-2007, 08:22 PM -
Font question
By orchid in forum Java 2DReplies: 1Last Post: 08-01-2007, 02:03 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks