Results 1 to 4 of 4
  1. #1
    AnimeKitty's Avatar
    AnimeKitty is offline Member
    Join Date
    Jul 2010
    Posts
    9
    Rep Power
    0

    Default First app; text in a frame

    Hi

    I'm trying to creating my first basic application in JCreator. I'm not that familiar with the structure of programing languages so its kind of difficult to know what to do first.

    What I would like to do is put a text field in a frame then use some code to have responses generated for what I type.

    This is what I have so far. Thanks for your responses.

    Java Code:
    /**
     * @(#)App2.java
     *
     * JFC App2 application
     *
     * @author
     * @version 1.00 2010/7/22
     */
    import javax.swing.*;
    
    public class App2 {
    
        public static void main(String[] args) {
    
            // Create application frame.
            App2Frame frame = new App2Frame();
    
            // Show frame.
            frame.setVisible(true);
        }
    }

  2. #2
    arun9683 is offline Member
    Join Date
    Jun 2010
    Location
    Bangalore,India
    Posts
    70
    Rep Power
    0

    Default

    Why dont you google it?

    You will get lots of tutorials..
    Arun K R,Bangalore,India
    :)

  3. #3
    j2me64's Avatar
    j2me64 is offline Senior Member
    Join Date
    Sep 2009
    Location
    Zurich, Switzerland
    Posts
    962
    Rep Power
    6

    Default

    Quote Originally Posted by arun9683 View Post
    You will get lots of tutorials..

    a good example is this one SwingTutorial

  4. #4
    cka
    cka is offline Member
    Join Date
    Jul 2010
    Posts
    11
    Rep Power
    0

    Default

    I personally struggle(d) with the GUIs coz there is so many examples and each of them is different. Because of that it's hard to get your head around where to start and what should be the structure (at least in my case). I spend really a lot of time learning GUIs :rolleyes:

    I personally like these pages most (there might be better ones though):
    Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)
    Java Programming Notes
    Java Basics: Table of Contents [First Draft - June 2005]

Similar Threads

  1. Replies: 2
    Last Post: 06-14-2010, 11:18 AM
  2. Replies: 8
    Last Post: 11-06-2009, 07:52 AM
  3. Replies: 7
    Last Post: 11-02-2009, 07:31 PM
  4. Replies: 2
    Last Post: 01-23-2009, 05:09 PM
  5. Replies: 0
    Last Post: 05-26-2008, 05:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •