Win a copy of Spark in Action this week in the Open Source Projects forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

How can i show half character(1/2 char) on Applet ???

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to display half character on display how can i display it on Applet???
Is there any way to show only half character or any other trick to do it???
Thanks.

------------------
Vicky
 
Saloon Keeper
Posts: 22245
151
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What exactly IS a "1/2 char"? Do you mean render only a slice of the character's bitmap? That would be done via clipping.
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmmm... I think that Vikas wants to show the character that represents one-half ( i.e. - '1/2' ).

I found that unicode character 0xBD generates the '1/2' character. Here is a small applet that shows this...



HTH,
-Nate
 
Vikas Jagetiya
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually i want to make a program which show a moving string on applet.....and moving mouse on applet it stop moving...in this case if i can show half part of character then on stoping string there will be no Jig-Jag ...
That's why i want to show half charcter near edge of applet..
Thaks for ur Reply
------------------
Vicky
[This message has been edited by Vikas Jagetiya (edited July 26, 2001).]
    Bookmark Topic Watch Topic
  • New Topic