Search:

Type: Posts; User: mwardjava92

Search: Search took 0.10 seconds.

  1. Replies
    5
    Views
    1,299

    Re: Cannot align JTextField in JPanel

    It's defined in the JLabel class. setVerticalAlignment isn't defined in the JTextField class, so does that mean I must use a different method?
  2. Replies
    5
    Views
    1,299

    Re: Cannot align JTextField in JPanel

    The symbol above the ^ is the . between 'jtfDetails' and 'setVerticalAlignment'. Yes it is spelt correctly.
  3. Replies
    5
    Views
    1,299

    Cannot align JTextField in JPanel

    I'm writing a GUI for a DVD player. I'm attempting to align the JTextField to the center of the JPanel, but I am getting this error:

    DVDPlayer.java:23: cannot find symbol
    symbol : method...
Results 1 to 3 of 3