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 06-25-2008, 02:40 PM
Member
 
Join Date: Jun 2008
Posts: 16
ravjot28 is on a distinguished road
Help needed in Frames text alignment
I went through all the process of frames and alignment of multi lines text written in APPLET TAG .But can any one suggest a easier way to align the text that is in APPLET TAG.

Eg:
<applet code="...." width=.. height=..>
<param name="TEXT" value=Hi how r u.I am fien .holla.adfsf adfasff.fsdf f wrfa.dasf werfewfd.fc dsf wsf .dfsfsfsdfsf reqwrad dasfasfwe.>

now i want to align the above text in my frame any short and easy method
PLZZZ
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-26-2008, 12:57 AM
Senior Member
 
Join Date: Jul 2007
Posts: 1,124
hardwired is on a distinguished road
Depends on what your applet is doing with this text.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 06-27-2008, 05:42 PM
Norm's Avatar
Senior Member
 
Join Date: Jun 2008
Location: SW MO, USA
Posts: 854
Norm is on a distinguished road
Could you give an example of how you want the text aligned?
Basically, get the String into the applet.
Break the string up into sections
Then it depends on the type of alignment: LEFT, RIGHT or CENTER
Then it depends on where you are displaying the sections:
In a Panel by using drawString(), in a TextArea or ???

Figure out the above and come back with some more details.
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
[SOLVED] Internal frames inside a MDI form Melki AWT / Swing 3 07-01-2008 07:55 AM
Editing video frames in JMF russ2620 Networking 0 05-31-2008 12:26 AM
Alignment Issue... chanduseec JavaServer Faces 0 08-13-2007 02:04 PM
alignment of textfield in awt nitinborge5 New To Java 2 07-30-2007 12:16 PM
will java webBrowser work with frames elipford New To Java 2 06-04-2007 04:26 PM


All times are GMT +3. The time now is 06:04 AM.


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