Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Java Fonts

Name: Anonymous 2008-03-17 17:36

I'm in a java 121 class right now and I have an LCD style font for one of my programs I want to use in a JTextArea. I have downloaded the .ttf for the font but i don't know how to use it in my program. How might I go about doing so? I'm using Eclipse Europa.

Name: Anonymous 2008-03-17 17:40

Name: Anonymous 2008-03-17 17:57

Font font = new FontFactory(Font,null,null,null).createFontCreator().createFont(new EnterpriseFont().createFont(null).create(new FileInputStream("font.ttf").getFileData()))

Name: Anonymous 2008-03-17 18:01

i never met a black scottsmen but because of this thread now i want one as a friend

Name: Anonymous 2008-03-17 21:05

thanks but FontFactory is throwing an error, there must be something i need to import?

Name: Anonymous 2008-03-17 22:15

>>5

I hope you set up FontFactory with the FontFactoryBridgeObserverCreatorFactory, otherwise you is well fuced.

Name: Anonymous 2008-03-17 22:18

Ok I can't figure out why this keeps segfaulting. halp /prog/


#!/usr/local/bin/python

import string, sys

# If no arguments were given, print a helpful message
if len(sys.argv)==1:
    print 'Usage: celsius temp1 temp2 ...'
    sys.exit(0)

# Loop over the arguments
for i in sys.argv[1:]:
    try:
        fahrenheit=float(string.atoi(i))
    except string.atoi_error:
    print repr(i), "not a numeric value"
THE GAME
    else:
    celsius=(fahrenheit-32)*5.0/9.0
    print '%i\260F = %i\260C' % (int(fahrenheit), int(celsius+.5))

Name: Anonymous 2008-03-17 22:30

>>7
FIOC, motherfucker, do you see it?

Name: Anonymous 2008-03-17 22:33

How the fuck does FIOC have anything to do with Java and/or fonts?

Name: Anonymous 2008-03-17 23:30

>>9
JFrame Input/Output Controller

Name: Anonymous 2008-03-18 2:58

>>9
See >>7
#!/usr/local/bin/python

Name: Anonymous 2008-03-18 3:04

In Haskell, we have OIOC.

Name: Anonymous 2008-03-18 8:05

OIC. 

Name: Anonymous 2008-03-18 10:40

>>13
OIC indention code?

Name: Anonymous 2008-03-18 10:50

>>13
Overly indented code, the scourge of non-Pythonic languages.

Name: Anonymous 2008-03-18 11:00

Xarn xarn = new XarnFactory(Xarn, null, null, null, new XarnObserver).getXarnCreator().getXarn().checkXarnBlog()

Name: Anonymous 2008-03-18 12:58

>>16
The Xarn has a blog?  (I'm not really sure what a Xarn is though.)

Name: Anonymous 2008-03-18 13:07

Wait.. is Xarn the same as Xenocara?

Name: Anonymous 2008-03-18 13:21

>>17
You have beet Xarned.

Name: Anonymous 2008-03-18 13:31

Name: Anonymous 2008-03-18 14:58

>>20
I'm currently emailing this thread to Xarn.

Name: Anonymous 2008-03-18 15:17

>>17
The Xarn has everything.

Name: Anonymous 2008-03-18 15:21

>>20
Update your Xarnblog man. http://cairnarvon.rotahall.org/

Name: Anonymous 2008-03-18 15:22

gtfo namefag

Name: Anonymous 2008-03-18 16:44

Name: Anonymous 2008-03-18 17:04

>>1
buy more ram.

Name: Xarn 2008-03-18 17:08

>>20
Thanks for reminding me that existed. Deleted now.

>>25
I got that when I was 11. I stopped using it when I was 14. I'm not sure why it was in that profile.

Name: Xarn 2008-03-18 17:26

>>27
Disregard that, I suck cocks.

Name: Trollbot9000 2009-07-01 8:28


are two versions of.

Name: Anonymous 2010-11-14 16:30


Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List