Compare commits

..

7 Commits

Author SHA1 Message Date
abazov73
508e2e3c4d Remote test 2023-03-21 11:56:53 +04:00
abazov73
7de190a519 Chanhes to classes + FooClass3 2022-11-13 17:18:17 +04:00
abazov73
a8663359ca Add FooClass2 2022-11-13 17:06:39 +04:00
abazov73
343b8bcf2e Merge NewBranch1 into NewBranch2 2022-11-13 16:31:40 +04:00
2255ade451 add foo to JFrame 2022-11-13 16:26:35 +04:00
55e2b76300 add foo to JFrame 2022-11-13 15:40:10 +04:00
abazov73
2483b0dec4 Form + foo class 2022-11-13 15:32:33 +04:00
8 changed files with 79 additions and 4 deletions

BIN
.vs/NetBeans_Test2/v17/.suo Normal file

Binary file not shown.

View File

@ -0,0 +1,6 @@
{
"ExpandedNodes": [
""
],
"PreviewInSolutionExplorer": false
}

BIN
.vs/slnx.sqlite Normal file

Binary file not shown.

View File

@ -0,0 +1,14 @@
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package TestPackage2;
/**
*
* @author Андрей
*/
public class FooClass {
public int foo;
public String newFoo;
}

View File

@ -0,0 +1,13 @@
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package TestPackage2;
/**
*
* @author Андрей
*/
public class FooClass2 {
private char foo;
}

View File

@ -0,0 +1,14 @@
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package TestPackage2;
/**
*
* @author Андрей
*/
public class FooClass3 {
long integerNum;
long additionalInt;
}

View File

@ -23,13 +23,28 @@
<Layout> <Layout>
<DimensionLayout dim="0"> <DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0"> <Group type="103" groupAlignment="0" attributes="0">
<EmptySpace min="0" pref="400" max="32767" attributes="0"/> <Group type="102" alignment="0" attributes="0">
<EmptySpace min="-2" pref="229" max="-2" attributes="0"/>
<Component id="jButton1" min="-2" max="-2" attributes="0"/>
<EmptySpace pref="233" max="32767" attributes="0"/>
</Group>
</Group> </Group>
</DimensionLayout> </DimensionLayout>
<DimensionLayout dim="1"> <DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0"> <Group type="103" groupAlignment="0" attributes="0">
<EmptySpace min="0" pref="300" max="32767" attributes="0"/> <Group type="102" alignment="0" attributes="0">
<EmptySpace min="-2" pref="172" max="-2" attributes="0"/>
<Component id="jButton1" min="-2" max="-2" attributes="0"/>
<EmptySpace pref="189" max="32767" attributes="0"/>
</Group>
</Group> </Group>
</DimensionLayout> </DimensionLayout>
</Layout> </Layout>
<SubComponents>
<Component class="javax.swing.JButton" name="jButton1">
<Properties>
<Property name="text" type="java.lang.String" value="jButton1"/>
</Properties>
</Component>
</SubComponents>
</Form> </Form>

View File

@ -16,6 +16,8 @@ public class TestJForm2 extends javax.swing.JFrame {
public TestJForm2() { public TestJForm2() {
initComponents(); initComponents();
} }
public String foo;
public String foo2;
/** /**
* This method is called from within the constructor to initialize the form. * This method is called from within the constructor to initialize the form.
@ -26,17 +28,27 @@ public class TestJForm2 extends javax.swing.JFrame {
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() { private void initComponents() {
jButton1 = new javax.swing.JButton();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jButton1.setText("jButton1");
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout); getContentPane().setLayout(layout);
layout.setHorizontalGroup( layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 400, Short.MAX_VALUE) .addGroup(layout.createSequentialGroup()
.addGap(229, 229, 229)
.addComponent(jButton1)
.addContainerGap(233, Short.MAX_VALUE))
); );
layout.setVerticalGroup( layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 300, Short.MAX_VALUE) .addGroup(layout.createSequentialGroup()
.addGap(172, 172, 172)
.addComponent(jButton1)
.addContainerGap(189, Short.MAX_VALUE))
); );
pack(); pack();
@ -78,5 +90,6 @@ public class TestJForm2 extends javax.swing.JFrame {
} }
// Variables declaration - do not modify//GEN-BEGIN:variables // Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton jButton1;
// End of variables declaration//GEN-END:variables // End of variables declaration//GEN-END:variables
} }