[nbusers] [Tutorial] Get more with Master/Detail Sample Form (with Netbeans)

  • From: "tlombard" < >
  • To:
  • Subject: [nbusers] [Tutorial] Get more with Master/Detail Sample Form (with Netbeans)
  • Date: Wed, 30 Jan 2013 14:10:48 -0500

Where is this portion of code placed/added?

4. Create dateConverter: 
Code:


Code:
    Converter dateConverter = new Converter<java.util.Date, String>() { 
    @Override 
    public String convertForward(java.util.Date value) { 
     DateFormat df = DateFormat.getDateInstance(); 
        return df.format(value); 
    } 
    @Override 
    public java.util.Date convertReverse(String value) { 
        try { 
            DateFormat df = DateFormat.getDateInstance(); 
            return df.parse(value); 
        } catch (ParseException e) { 
            return Calendar.getInstance().getTime(); 
        } 
    } 
    }; 








[nbusers] [Tutorial] Get more with Master/Detail Sample Form (with Netbeans)

tlombard 01/30/2013

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close