#14 Locale doesn't work for textbox DatePicker

v1.0_(example)
wont-fix
None
7
2014-03-18
2011-12-08
Anonymous
No

Hi, I just found an issue trying to change the locale for DatePicker.
The locale works for the drop-down calendar, but doesn't work for the Text field.
Please update for that.
Thanks you,
Best regards,
Long Vo

Discussion

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2011-12-08
     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2011-12-08
    • priority: 5 --> 7
    • assigned_to: nobody --> michaelbaranov
     
  • PhoneixS

    PhoneixS - 2013-05-21

    I think this problem is a problem with DateFormat of java. Can you tray the last version of java and Microba components?

    The next example show 13 déc. 2013.

    /**
     * Launch the application.
     */
    public static void main(String[] args) {
        JFrame frame = new JFrame();
        frame.setBounds(100, 100, 450, 300);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    
        DatePicker myDP = new DatePicker(new Date(), DateFormat.MEDIUM, Locale.FRENCH);
    
        frame.getContentPane().add(myDP);
    
        myDP.addCommitListener(new CommitListener() {
    
            @Override
            public void commit(CommitEvent event) {
                System.out.println("I have been changed!");
            }
        });
        frame.setVisible(true);
    }
    
     
  • teddybear

    teddybear - 2014-03-18
    • status: open --> wont-fix
    • Group: --> v1.0_(example)
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks