Quantcast

Maximum PC

It is currently Tue Oct 21, 2014 3:12 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Adding Text Output To An Applet (Java)
PostPosted: Wed Apr 08, 2009 10:50 am 
8086
8086

Joined: Sun Nov 13, 2005 4:06 pm
Posts: 23
Location: Canada
Hi guys, I'm currently working on a small text-based adventure game written in Java, and I'm just wondering on how I would go about adding the text output into an applet?

It's a very simple program; basically it just displays some text, prompts the user for an answer, and depending on the answer, displays some more text, etc etc. I realize I'll probably have to use the Swing library, but I'm not 100% sure how to go about doing this.

Can anyone point me in the right direction for guidance (other than the standard Java API) that would show how to go about doing this? Thanks.


Top
  Profile  
 
 Post subject:
PostPosted: Thu Apr 09, 2009 8:29 am 
Java Junkie
Java Junkie
User avatar

Joined: Mon Jun 14, 2004 10:23 am
Posts: 24226
Location: Granite Heaven
This is about as basic as you can get ... so you really need to learn to read the API docs. If this is giving you trouble, you're screwed. Back to basics!

http://java.sun.com/docs/books/tutorial ... intro.html


Top
  Profile  
 
 Post subject:
PostPosted: Thu Apr 09, 2009 8:34 am 
SON OF A GUN
SON OF A GUN
User avatar

Joined: Mon Nov 01, 2004 5:41 am
Posts: 11605
Hello World!


Top
  Profile  
 
 Post subject:
PostPosted: Thu Apr 09, 2009 10:03 am 
8086
8086

Joined: Sun Nov 13, 2005 4:06 pm
Posts: 23
Location: Canada
*sigh* I guess there's no hope in being lazy. Off to work.

Oh, and I like how you posted the link to the API anyways, just as an added slap in the face. Classy. ;)


Top
  Profile  
 
 Post subject:
PostPosted: Thu Apr 09, 2009 11:02 am 
Java Junkie
Java Junkie
User avatar

Joined: Mon Jun 14, 2004 10:23 am
Posts: 24226
Location: Granite Heaven
Heh .. it honestly wasn't meant as a slap in the face. More like a reminder that you need to learn to turn the car on before you can learn to drive. ;)


Top
  Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

© 2014 Future US, Inc. All rights reserved.