01: /*
02: * WaitForUpdatePanel.java
03: *
04: * Created on June 15, 2007, 3:14 PM
05: */
06:
07: package org.netbeans.modules.visualweb.dataconnectivity.ui;
08:
09: import java.io.IOException;
10: import java.util.logging.Logger;
11: import javax.naming.NamingException;
12: import org.netbeans.api.db.explorer.JDBCDriver;
13: import org.netbeans.api.db.explorer.JDBCDriverManager;
14: import org.netbeans.api.project.Project;
15: import org.netbeans.modules.visualweb.dataconnectivity.naming.DatabaseSettingsImporter;
16: import org.netbeans.modules.visualweb.dataconnectivity.project.datasource.ProjectDataSourceTracker;
17: import org.netbeans.modules.visualweb.dataconnectivity.sql.DesignTimeDataSourceHelper;
18: import org.netbeans.modules.visualweb.dataconnectivity.utils.ImportDataSource;
19: import org.openide.ErrorManager;
20:
21: /**
22: *
23: * @author jbaker
24: */
25: public class DataSourceCreationNotSupported extends javax.swing.JPanel {
26:
27: /** Creates new form WaitForUpdatePanel */
28: public DataSourceCreationNotSupported() {
29: initComponents();
30: }
31:
32: /** This method is called from within the constructor to
33: * initialize the form.
34: * WARNING: Do NOT modify this code. The content of this method is
35: * always regenerated by the Form Editor.
36: */
37: // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
38: private void initComponents() {
39:
40: message = new javax.swing.JLabel();
41:
42: setMinimumSize(new java.awt.Dimension(30, 10));
43:
44: org.openide.awt.Mnemonics.setLocalizedText(message,
45: org.openide.util.NbBundle.getMessage(
46: DataSourceCreationNotSupported.class,
47: "MSG_DataSourceNotSupported")); // NOI18N
48: message.setBorder(javax.swing.BorderFactory.createEmptyBorder(
49: 1, 1, 1, 1));
50: message
51: .setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
52: message.setInheritsPopupMenu(false);
53:
54: org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(
55: this );
56: this .setLayout(layout);
57: layout.setHorizontalGroup(layout.createParallelGroup(
58: org.jdesktop.layout.GroupLayout.LEADING).add(
59: layout.createSequentialGroup().addContainerGap().add(
60: message,
61: org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
62: 178,
63: org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
64: .addContainerGap(94, Short.MAX_VALUE)));
65: layout.setVerticalGroup(layout.createParallelGroup(
66: org.jdesktop.layout.GroupLayout.LEADING).add(message,
67: org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 90,
68: org.jdesktop.layout.GroupLayout.PREFERRED_SIZE));
69:
70: message.getAccessibleContext().setAccessibleName(
71: org.openide.util.NbBundle.getMessage(
72: DataSourceCreationNotSupported.class,
73: "MSG_DataSourceNotSupported")); // NOI18N
74: message.getAccessibleContext().setAccessibleDescription(
75: org.openide.util.NbBundle.getMessage(
76: DataSourceCreationNotSupported.class,
77: "ACSD_WaitForUpdate")); // NOI18N
78:
79: getAccessibleContext().setAccessibleName(
80: org.openide.util.NbBundle.getMessage(
81: DataSourceCreationNotSupported.class,
82: "LBL_WaitForUpdate_Title")); // NOI18N
83: getAccessibleContext().setAccessibleDescription(
84: org.openide.util.NbBundle.getMessage(
85: DataSourceCreationNotSupported.class,
86: "ACSD_WaitForUpdate")); // NOI18N
87: }// </editor-fold>//GEN-END:initComponents
88:
89: // Variables declaration - do not modify//GEN-BEGIN:variables
90: private javax.swing.JLabel message;
91: // End of variables declaration//GEN-END:variables
92:
93: }
|