Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.20 seconds.

  1. Thread: TEXT AREA

    by KevinWorkman
    Replies
    8
    Views
    964

    Re: TEXT AREA

    That's not really how this works. Did you read the tutorial I posted, or the Swing tutorial in general? Your syntax is not valid at all, which makes me question whether the code you posted is...
  2. Thread: TEXT AREA

    by KevinWorkman
    Replies
    8
    Views
    964

    Re: TEXT AREA

    I'm not sure what you expected this to do. You create a JTextArea, but then you attempt to add a String "Text Area" to the JFrame, which doesn't make sense. A String is not a component. Then you add...
  3. Thread: TEXT AREA

    by KevinWorkman
    Replies
    8
    Views
    964

    Re: TEXT AREA

    Recommended reading: Using Text Components (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components)
  4. Thread: TEXT AREA

    by KevinWorkman
    Replies
    8
    Views
    964

    Re: TEXT AREA

    After fixing the compiler error in this code (do you really do your development on your phone?), I can see that you successfully add a JLabel to your JFrame. What's stopping you from adding a...
Results 1 to 4 of 4