Results 1 to 8 of 8
  1. #1
    Hugo is offline Member
    Join Date
    Oct 2009
    Posts
    16
    Rep Power
    0

    Default [HELP]JSpinner Left Alignment

    Hi everyone

    A very basic question, but I would like to know if someone knows how to left align the contents of a JSpinner control in Java.

    Thank you.

  2. #2
    Hugo is offline Member
    Join Date
    Oct 2009
    Posts
    16
    Rep Power
    0

    Default [SOLVED] JSpinner Left Alignment

    This problem has been solved.

  3. #3
    PhHein's Avatar
    PhHein is offline Senior Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    1,430
    Rep Power
    7

    Default

    Hugo, crossposting to various forums is consedered being rude. Next time please post to one forum, or at least link the threads.

  4. #4
    Hugo is offline Member
    Join Date
    Oct 2009
    Posts
    16
    Rep Power
    0

    Default Apologies

    Hi PhHein

    I want to apologize, but I don't understand what I have done wrong.

    Would you please explain to me what I did?

    If it has to do with the quote on one person's question, then I think I might now what it was all about.

    I tried to use hyperlinks in order to link threads together, but it didn't work (java-forums.org did not allow me to). I'm still new to forums, and I don't know how to link threads together in a different way.
    Last edited by Hugo; 10-08-2009 at 01:36 PM.

  5. #5
    PhHein's Avatar
    PhHein is offline Senior Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    1,430
    Rep Power
    7

    Default

    No worries. I just asked not to post the same question to different sites (here and forums.sun.com).

    I forgot that you are not allowed to post links yet.

  6. #6
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    Cross-posting by itself is not bad, just doing so without notification is. Next time, just let us know which forum you've cross-posted in and we'll be able to find and post in the links for you. Much luck.

  7. #7
    dubya68 is offline Member
    Join Date
    Jul 2011
    Posts
    1
    Rep Power
    0

    Default

    I know this is a little old but if you get this Hugo could you post how you solved the problem? I am also having a similar issue.

  8. #8
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,648
    Blog Entries
    7
    Rep Power
    21

    Default

    Get the text editor from your Spinner, get its JTextField and set its horizontal allignment.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. Jtable Jspinner help
    By chiragkini in forum AWT / Swing
    Replies: 5
    Last Post: 08-15-2009, 04:36 AM
  2. [SOLVED] JSpinner in JTable column
    By nehaa in forum AWT / Swing
    Replies: 10
    Last Post: 05-11-2009, 01:34 PM
  3. Alignment Issue...
    By chanduseec in forum JavaServer Faces (JSF)
    Replies: 1
    Last Post: 09-30-2008, 06:47 AM
  4. Label Alignment Example
    By Java Tip in forum javax.swing
    Replies: 0
    Last Post: 06-27-2008, 07:49 PM
  5. alignment of textfield in awt
    By nitinborge5 in forum New To Java
    Replies: 2
    Last Post: 07-30-2007, 11:16 AM

Posting Permissions

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