Navázání DB spojení a kontrola databází SQL dotazem.
1 <?xml version="1.0" encoding="UTF-8" ?>
3 <Form version="1.3" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
5 <Property name="defaultCloseOperation" type="int" value="3"/>
6 <Property name="title" type="java.lang.String" value="ABC-Drupal"/>
9 <SyntheticProperty name="formSizePolicy" type="int" value="1"/>
10 </SyntheticProperties>
12 <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
13 <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
14 <AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
15 <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
16 <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
17 <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
18 <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
19 <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
20 <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
24 <DimensionLayout dim="0">
25 <Group type="103" groupAlignment="0" attributes="0">
26 <Group type="102" alignment="1" attributes="0">
27 <EmptySpace max="-2" attributes="0"/>
28 <Group type="103" groupAlignment="1" attributes="0">
29 <Component id="jScrollPane1" alignment="0" pref="599" max="32767" attributes="0"/>
30 <Group type="102" alignment="1" attributes="0">
31 <Group type="103" groupAlignment="0" attributes="0">
32 <Component id="jLabel1" min="-2" max="-2" attributes="0"/>
33 <Component id="jLabel2" alignment="0" min="-2" max="-2" attributes="0"/>
35 <EmptySpace max="-2" attributes="0"/>
36 <Group type="103" groupAlignment="0" attributes="0">
37 <Component id="jdbcCil" pref="560" max="32767" attributes="0"/>
38 <Component id="jdbcZdroj" alignment="0" pref="560" max="32767" attributes="0"/>
41 <Component id="nahratData" alignment="1" min="-2" max="-2" attributes="0"/>
43 <EmptySpace max="-2" attributes="0"/>
47 <DimensionLayout dim="1">
48 <Group type="103" groupAlignment="0" attributes="0">
49 <Group type="102" alignment="0" attributes="0">
50 <EmptySpace max="-2" attributes="0"/>
51 <Group type="103" groupAlignment="3" attributes="0">
52 <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
53 <Component id="jdbcZdroj" alignment="3" min="-2" max="-2" attributes="0"/>
55 <EmptySpace max="-2" attributes="0"/>
56 <Group type="103" groupAlignment="3" attributes="0">
57 <Component id="jdbcCil" alignment="3" min="-2" max="-2" attributes="0"/>
58 <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/>
60 <EmptySpace max="-2" attributes="0"/>
61 <Component id="jScrollPane1" pref="152" max="32767" attributes="0"/>
62 <EmptySpace max="-2" attributes="0"/>
63 <Component id="nahratData" min="-2" max="-2" attributes="0"/>
64 <EmptySpace max="-2" attributes="0"/>
70 <Component class="javax.swing.JLabel" name="jLabel1">
72 <Property name="text" type="java.lang.String" value="Zdroj"/>
75 <Component class="javax.swing.JLabel" name="jLabel2">
77 <Property name="text" type="java.lang.String" value="Cíl"/>
80 <Component class="javax.swing.JTextField" name="jdbcZdroj">
82 <Property name="text" type="java.lang.String" value="jdbc:mysql://127.0.0.1:3306/itbiz?user=itbiz&password=nbusr123"/>
85 <Component class="javax.swing.JTextField" name="jdbcCil">
87 <Property name="text" type="java.lang.String" value="jdbc:mysql://127.0.0.1:3306/abclinuxu?user=abclinuxu&password=nbusr123"/>
90 <Container class="javax.swing.JScrollPane" name="jScrollPane1">
92 <AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
95 <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
97 <Component class="javax.swing.JTextArea" name="vystup">
99 <Property name="columns" type="int" value="20"/>
100 <Property name="editable" type="boolean" value="false"/>
101 <Property name="rows" type="int" value="5"/>
102 <Property name="enabled" type="boolean" value="false"/>
107 <Component class="javax.swing.JButton" name="nahratData">
109 <Property name="text" type="java.lang.String" value="Nahrát data"/>
112 <EventHandler event="mouseWheelMoved" listener="java.awt.event.MouseWheelListener" parameters="java.awt.event.MouseWheelEvent" handler="nahratDataMouseWheelMoved"/>
113 <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="nahratDataActionPerformed"/>