zeichenfläche wieder drin

This commit is contained in:
ahren 2023-12-18 12:47:24 +01:00
parent 64a6047ca4
commit 0da0f2cc5b
3 changed files with 64 additions and 55 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
/nbproject/private/
/build/
/dist/

View File

@ -28,17 +28,6 @@
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
<SubComponents>
<Container class="mvcgrafik.view.GrafikView" name="gZeichenflaeche">
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
<BorderConstraints direction="Center"/>
</Constraint>
</Constraints>
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout">
<Property name="useNullLayout" type="boolean" value="true"/>
</Layout>
</Container>
<Container class="javax.swing.JToolBar" name="jToolBar1">
<Properties>
<Property name="rollover" type="boolean" value="true"/>
@ -85,5 +74,16 @@
</Component>
</SubComponents>
</Container>
<Container class="ChatProgramm.view.GrafikView" name="gvZeichenflaeche">
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
<BorderConstraints direction="Center"/>
</Constraint>
</Constraints>
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout">
<Property name="useNullLayout" type="boolean" value="true"/>
</Layout>
</Container>
</SubComponents>
</Form>

View File

@ -11,6 +11,14 @@ package ChatProgramm.view;
public class GrafikFrame extends javax.swing.JFrame
{
/**
* @return the gvZeichenflaeche
*/
public ChatProgramm.view.GrafikView getGvZeichenflaeche()
{
return gvZeichenflaeche;
}
/**
* @return the FcFileChooser
*/
@ -37,10 +45,7 @@ public class GrafikFrame extends javax.swing.JFrame
/**
* @return the gZeichenflaeche
*/
public mvcgrafik.view.GrafikView getgZeichenflaeche()
{
return gZeichenflaeche;
}
/**
* Creates new form GrafikFrame
@ -57,17 +62,17 @@ public class GrafikFrame extends javax.swing.JFrame
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
private void initComponents()
{
FcFileChooser = new javax.swing.JFileChooser();
gZeichenflaeche = new mvcgrafik.view.GrafikView();
jToolBar1 = new javax.swing.JToolBar();
btnFileOpen = new javax.swing.JButton();
btnFileSave = new javax.swing.JButton();
btnPrint = new javax.swing.JButton();
gvZeichenflaeche = new ChatProgramm.view.GrafikView();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
getContentPane().add(gZeichenflaeche, java.awt.BorderLayout.CENTER);
jToolBar1.setRollover(true);
@ -92,6 +97,7 @@ public class GrafikFrame extends javax.swing.JFrame
jToolBar1.add(btnPrint);
getContentPane().add(jToolBar1, java.awt.BorderLayout.PAGE_START);
getContentPane().add(gvZeichenflaeche, java.awt.BorderLayout.CENTER);
setSize(new java.awt.Dimension(540, 412));
setLocationRelativeTo(null);
@ -152,7 +158,7 @@ public class GrafikFrame extends javax.swing.JFrame
private javax.swing.JButton btnFileOpen;
private javax.swing.JButton btnFileSave;
private javax.swing.JButton btnPrint;
private mvcgrafik.view.GrafikView gZeichenflaeche;
private ChatProgramm.view.GrafikView gvZeichenflaeche;
private javax.swing.JToolBar jToolBar1;
// End of variables declaration//GEN-END:variables