Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (497)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Help on GUI - Quick Start  (Read 779 times)
0 Members and 1 Guest are viewing this topic.
Offline Thsotus

Senior Newbie





« Posted 2010-10-18 07:49:30 »

I've taken quite a bit of my time to look through the Java GUI tutorials, but I cannot find exactly what I want.  And what do I want?  Code for a window that has a frame that has save and a journal button that will initialize another window that will hold a uneditable text area that will hold text that comes from "journal.txt."  Also, I want a text box for entering text---the application I want to make is specified http://thsotusgames.wordpress.com/2010/10/10/12-learning-java-twin-days-4/---it is a text-based adventure game.

It's been taking awhile for me to get ahold of something, but I cannot find anything.  How do I create a frame that can hold two buttons that will be about quarter of an inch off of the right margin, a text area and text box that will hold text and I/O, and other things?  Many tutorials don't cover this area.

Plus, this is only an experimental game that I want to create.  This game is for learning experiences so that I can begin on my simulation game.  I figured that a text-based adventure game of a good size would be good to start me off in.  It covers I/O, file manipulation, GUI, scanners, and writing skills/creativity.  I want the end product to be a good, nice-sized game that will take about two hours or three hours to go through the entire thing.  Plus, I have designed the storyline so that it will have three possible endings, and multiple secrets to create re-playability.  I've already created the basic command line I/O--now, I want to convert it to a text-based GUI.

Can someone help me out here? 

Hey!  Visit the blog (and current home website) for my studios,
Thsotus Games, http://thsotusgames.wordpress.com/.

My current and most recent project is called "Twin Days."
Offline adon_y_coya

Senior Newbie





« Reply #1 - Posted 2010-10-18 10:11:03 »

http://download.oracle.com/javase/tutorial/uiswing/
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

BurntPizza (21 views)
2014-09-19 03:14:18

Dwinin (35 views)
2014-09-12 09:08:26

Norakomi (62 views)
2014-09-10 13:57:51

TehJavaDev (87 views)
2014-09-10 06:39:09

Tekkerue (42 views)
2014-09-09 02:24:56

mitcheeb (65 views)
2014-09-08 06:06:29

BurntPizza (47 views)
2014-09-07 01:13:42

Longarmx (35 views)
2014-09-07 01:12:14

Longarmx (40 views)
2014-09-07 01:11:22

Longarmx (36 views)
2014-09-07 01:10:19
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!