Results 1 to 2 of 2
  1. #1
    rick1902 is offline Member
    Join Date
    Dec 2011
    Rep Power

    Default JComboBox and UpperCase ?

    Hello everydoby.
    How can i make the jComboBox acept only Uppercase when type ?

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: JComboBox and UpperCase ?

    Obtain a reference to the combo box's editor's editor component, cast it to JTextField, set a DocumentFilter to the text field's Document after casting to AbstractDocument.

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Strings Lower/UpperCase
    By jeata in forum New To Java
    Replies: 1
    Last Post: 10-30-2010, 06:37 PM
  2. uppercase and lowercase please help
    By cuziwow in forum New To Java
    Replies: 4
    Last Post: 04-11-2010, 08:54 AM
  3. Replies: 2
    Last Post: 12-10-2009, 02:58 PM
  4. Need Help for this problem Uppercase.
    By ezered in forum New To Java
    Replies: 5
    Last Post: 12-04-2009, 01:05 AM
  5. UpperCase problem
    By logieen in forum New To Java
    Replies: 1
    Last Post: 08-04-2008, 12:26 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