Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-27-2008, 01:50 PM
Member
 
Join Date: Mar 2008
Posts: 2
bala_kj is on a distinguished road
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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-28-2008, 02:49 PM
DonCash's Avatar
Moderator
 
Join Date: Aug 2007
Location: London, UK
Posts: 239
DonCash will become famous soon enoughDonCash will become famous soon enough
Is this variable going to be printed out to a file or just in the console?
__________________
Did this post help you? Please
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
me!

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 04-01-2008, 11:54 AM
Member
 
Join Date: Mar 2008
Posts: 2
bala_kj is on a distinguished road
In file i have to display
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 04-01-2008, 12:00 PM
DonCash's Avatar
Moderator
 
Join Date: Aug 2007
Location: London, UK
Posts: 239
DonCash will become famous soon enoughDonCash will become famous soon enough
What is the file type? .txt? .html?
__________________
Did this post help you? Please
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
me!

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Swing - Changing component default font Java Tip Java Tips 0 03-11-2008 11:52 PM
How to change font/ font color etc in a graphic object using JCombobox? JavaInLove AWT / Swing 0 02-07-2008 12:28 PM
JTable with Font Rama Koti Reddy AWT / Swing 1 12-12-2007 06:22 PM
Help with save font information in jtextarea valery New To Java 1 08-06-2007 09:22 PM
Font question orchid Java 2D 1 08-01-2007 03:03 AM


All times are GMT +3. The time now is 08:27 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org