Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.14 seconds.

  1. Replies
    9
    Views
    3,522

    Re: drawString and JTextField

    Thanks for clarifying. Like I and the link I gave you said, mixing AWT and Swing will result in pretty much exactly the behavior you're describing. What happened when you changed it to JLabel? That...
  2. Replies
    9
    Views
    3,522

    Re: drawString and JTextField

    Well, an SSCCE should preferably fit inside one class and file (you can have nested classes if you absolutely have to, but you probably don't have to). And you didn't tell us whether switching to...
  3. Replies
    9
    Views
    3,522

    Re: drawString and JTextField

    Well, my point was that you probably want to be using JApplet and a JPanel instead. But without seeing an SSCCE (that's a link), it's going to be hard to comment on your code.




    What happened...
  4. Replies
    9
    Views
    3,522

    Re: drawString and JTextField

    What happened when you tried? And is there a reason you're using AWT and not Swing? Read this tutorial: Painting in AWT and Swing




    Again, what did you try? But I would expect the JTextField...
Results 1 to 4 of 4