Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#242872 - 30/11/2004 02:18 java app homework question
image
old hand

Registered: 28/04/2002
Posts: 770
Loc: Los Angeles, CA
i just need a quick code hack to do the following:

popup a window having the text "Enter Name", a text field , and a 2 buttons with "OK" and "Cancel", with the textfield updating a String variable if ok is entered, not updated if Cancel is entered.

Sucks to be a C++ adept programmer thrown into an upper division java course without the basics down

Top
#242873 - 30/11/2004 07:34 Re: java app homework question [Re: image]
mdavey
enthusiast

Registered: 06/03/2003
Posts: 269
Loc: Wellingborough, UK
Use google or the search engine at java.sun.com to search for "Hello Swing World" or "Hello AWT World" example program, or hunt around the following:

http://theswingconnection.com/
http://thejavatutorial.com/
http://java.sun.com/developer/codesamples/index.html
http://java.sun.com/learning/tutorial/index.html
http://www.jguru.com/

If you have been on the "Java Programming Language" training from Sun, there is an example in the students guide, too.

If you still can't find what you want, either break open the Java API and look at either the java.awt package or java.swing package, or send me a PM justifying why this isn't actually homework and why I should actually just find/modify/write an example for you
_________________________
Michael
Ex-owner of stolen empeg #030102741

Top