3 Replies - 870 Views - Last Post: 28 May 2011 - 03:19 PM Rate Topic: -----

#1 teckno101  Icon User is offline

  • New D.I.C Head
  • member icon

Reputation: -1
  • View blog
  • Posts: 24
  • Joined: 02-January 11

JTextField in a PaintComponent

Posted 25 May 2011 - 11:10 AM

First of all, thanks in advance.

I'm trying to place a JTextField in a paintComponent so I can have grid lines between the text fields.

Any ideas?

Let me know if you need code or a screen shot. Thanks!
Is This A Good Question/Topic? 0
  • +

Replies To: JTextField in a PaintComponent

#2 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10647
  • View blog
  • Posts: 39,542
  • Joined: 27-December 08

Re: JTextField in a PaintComponent

Posted 25 May 2011 - 11:12 AM

Moved to Java Help. Please reserve the Java Programmers forum for topical, non-help related discussion.

Why don't you just use JTable?
Was This Post Helpful? 1
  • +
  • -

#3 teckno101  Icon User is offline

  • New D.I.C Head
  • member icon

Reputation: -1
  • View blog
  • Posts: 24
  • Joined: 02-January 11

Re: JTextField in a PaintComponent

Posted 28 May 2011 - 03:06 PM

I had to completely redesign my GUI however, this is exactly what I needed. Thanks!
Was This Post Helpful? 0
  • +
  • -

#4 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10647
  • View blog
  • Posts: 39,542
  • Joined: 27-December 08

Re: JTextField in a PaintComponent

Posted 28 May 2011 - 03:19 PM

Glad I could help! :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1