public static void main(String[] args) {
ApplicationArguments.initialize(new String[] {});
final JFrame frame = new JFrame("Test DriverPropertiesPanel");
SQLDriverPropertyCollection propertyCollection =
new SQLDriverPropertyCollection();
DriverPropertyInfo mockDriverPropertyInfo = new DriverPropertyInfo("propName", "propValue");
mockDriverPropertyInfo.description = "Test prop description";
SQLDriverProperty prop = new SQLDriverProperty(mockDriverPropertyInfo);
propertyCollection.setDriverProperties(new SQLDriverProperty[] { prop });
DriverPropertiesPanel panel = new DriverPropertiesPanel(propertyCollection);
frame.getContentPane().add(panel);
frame.setSize(500,300);
frame.setVisible(true);