Skip to content

Commit

Permalink
refactor(CErrorLog): see No more "Send error log as email" #513
Browse files Browse the repository at this point in the history
Rename "Fehlerbericht" to "Konsole" and put Session Log first.

NB. General Log is a list of the last 3 session logs.
Both logs have Java Version information added to the top.
  • Loading branch information
RalfBarkow committed Jun 7, 2024
1 parent 678bc29 commit 1104ccc
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 51 deletions.
42 changes: 21 additions & 21 deletions src/main/java/de/danielluedecke/zettelkasten/CErrorLog.form
Original file line number Diff line number Diff line change
Expand Up @@ -65,117 +65,117 @@

<Layout class="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout"/>
<SubComponents>
<Container class="javax.swing.JPanel" name="jPanel1">
<Container class="javax.swing.JPanel" name="jPanel2">
<Properties>
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[25, 25]"/>
</Property>
<Property name="name" type="java.lang.String" value="jPanel1" noResource="true"/>
<Property name="name" type="java.lang.String" value="jPanel2" noResource="true"/>
</Properties>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription">
<JTabbedPaneConstraints tabName="General Log">
<Property name="tabTitle" type="java.lang.String" resourceKey="jPanel1.TabConstraints.tabTitle"/>
<JTabbedPaneConstraints tabName="Session Log">
<Property name="tabTitle" type="java.lang.String" resourceKey="jPanel2.TabConstraints.tabTitle"/>
</JTabbedPaneConstraints>
</Constraint>
</Constraints>

<Layout>
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<Component id="jScrollPane1" alignment="0" max="32767" attributes="0"/>
<Component id="jScrollPane2" alignment="0" max="32767" attributes="0"/>
</Group>
</DimensionLayout>
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
<Component id="jScrollPane1" alignment="0" pref="367" max="32767" attributes="0"/>
<Component id="jScrollPane2" alignment="0" pref="367" max="32767" attributes="0"/>
</Group>
</DimensionLayout>
</Layout>
<SubComponents>
<Container class="javax.swing.JScrollPane" name="jScrollPane1">
<Container class="javax.swing.JScrollPane" name="jScrollPane2">
<Properties>
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
<Border info="null"/>
</Property>
<Property name="horizontalScrollBarPolicy" type="int" value="31"/>
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[25, 25]"/>
</Property>
<Property name="name" type="java.lang.String" value="jScrollPane1" noResource="true"/>
<Property name="name" type="java.lang.String" value="jScrollPane2" noResource="true"/>
</Properties>
<AuxValues>
<AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
</AuxValues>

<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
<SubComponents>
<Component class="javax.swing.JTextArea" name="jTextArea1">
<Component class="javax.swing.JTextArea" name="jTextArea2">
<Properties>
<Property name="lineWrap" type="boolean" value="true"/>
<Property name="wrapStyleWord" type="boolean" value="true"/>
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[25, 25]"/>
</Property>
<Property name="name" type="java.lang.String" value="jTextArea1" noResource="true"/>
<Property name="name" type="java.lang.String" value="jTextArea2" noResource="true"/>
</Properties>
</Component>
</SubComponents>
</Container>
</SubComponents>
</Container>
<Container class="javax.swing.JPanel" name="jPanel2">
<Container class="javax.swing.JPanel" name="jPanel1">
<Properties>
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[25, 25]"/>
</Property>
<Property name="name" type="java.lang.String" value="jPanel2" noResource="true"/>
<Property name="name" type="java.lang.String" value="jPanel1" noResource="true"/>
</Properties>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout" value="org.netbeans.modules.form.compat2.layouts.support.JTabbedPaneSupportLayout$JTabbedPaneConstraintsDescription">
<JTabbedPaneConstraints tabName="Session-Log">
<Property name="tabTitle" type="java.lang.String" resourceKey="jPanel2.TabConstraints.tabTitle"/>
<JTabbedPaneConstraints tabName="General Log">
<Property name="tabTitle" type="java.lang.String" resourceKey="jPanel1.TabConstraints.tabTitle"/>
</JTabbedPaneConstraints>
</Constraint>
</Constraints>

<Layout>
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<Component id="jScrollPane2" alignment="0" max="32767" attributes="0"/>
<Component id="jScrollPane1" alignment="0" max="32767" attributes="0"/>
</Group>
</DimensionLayout>
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
<Component id="jScrollPane2" alignment="0" pref="367" max="32767" attributes="0"/>
<Component id="jScrollPane1" alignment="0" pref="367" max="32767" attributes="0"/>
</Group>
</DimensionLayout>
</Layout>
<SubComponents>
<Container class="javax.swing.JScrollPane" name="jScrollPane2">
<Container class="javax.swing.JScrollPane" name="jScrollPane1">
<Properties>
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
<Border info="null"/>
</Property>
<Property name="horizontalScrollBarPolicy" type="int" value="31"/>
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[25, 25]"/>
</Property>
<Property name="name" type="java.lang.String" value="jScrollPane2" noResource="true"/>
<Property name="name" type="java.lang.String" value="jScrollPane1" noResource="true"/>
</Properties>
<AuxValues>
<AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
</AuxValues>

<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
<SubComponents>
<Component class="javax.swing.JTextArea" name="jTextArea2">
<Component class="javax.swing.JTextArea" name="jTextArea1">
<Properties>
<Property name="lineWrap" type="boolean" value="true"/>
<Property name="wrapStyleWord" type="boolean" value="true"/>
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[25, 25]"/>
</Property>
<Property name="name" type="java.lang.String" value="jTextArea2" noResource="true"/>
<Property name="name" type="java.lang.String" value="jTextArea1" noResource="true"/>
</Properties>
</Component>
</SubComponents>
Expand Down
58 changes: 29 additions & 29 deletions src/main/java/de/danielluedecke/zettelkasten/CErrorLog.java
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,12 @@ private void initComponents() {

jButton2 = new javax.swing.JButton();
jTabbedPane1 = new javax.swing.JTabbedPane();
jPanel1 = new javax.swing.JPanel();
jScrollPane1 = new javax.swing.JScrollPane();
jTextArea1 = new javax.swing.JTextArea();
jPanel2 = new javax.swing.JPanel();
jScrollPane2 = new javax.swing.JScrollPane();
jTextArea2 = new javax.swing.JTextArea();
jPanel1 = new javax.swing.JPanel();
jScrollPane1 = new javax.swing.JScrollPane();
jTextArea1 = new javax.swing.JTextArea();

setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance().getContext().getResourceMap(CErrorLog.class);
Expand All @@ -254,6 +254,32 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
jTabbedPane1.setMinimumSize(new java.awt.Dimension(60, 60));
jTabbedPane1.setName("jTabbedPane1"); // NOI18N

jPanel2.setMinimumSize(new java.awt.Dimension(25, 25));
jPanel2.setName("jPanel2"); // NOI18N

jScrollPane2.setBorder(null);
jScrollPane2.setMinimumSize(new java.awt.Dimension(25, 25));
jScrollPane2.setName("jScrollPane2"); // NOI18N

jTextArea2.setLineWrap(true);
jTextArea2.setWrapStyleWord(true);
jTextArea2.setMinimumSize(new java.awt.Dimension(25, 25));
jTextArea2.setName("jTextArea2"); // NOI18N
jScrollPane2.setViewportView(jTextArea2);

javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
jPanel2.setLayout(jPanel2Layout);
jPanel2Layout.setHorizontalGroup(
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
jPanel2Layout.setVerticalGroup(
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 367, Short.MAX_VALUE)
);

jTabbedPane1.addTab(resourceMap.getString("jPanel2.TabConstraints.tabTitle"), jPanel2); // NOI18N

jPanel1.setMinimumSize(new java.awt.Dimension(25, 25));
jPanel1.setName("jPanel1"); // NOI18N

Expand Down Expand Up @@ -281,32 +307,6 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {

jTabbedPane1.addTab(resourceMap.getString("jPanel1.TabConstraints.tabTitle"), jPanel1); // NOI18N

jPanel2.setMinimumSize(new java.awt.Dimension(25, 25));
jPanel2.setName("jPanel2"); // NOI18N

jScrollPane2.setBorder(null);
jScrollPane2.setMinimumSize(new java.awt.Dimension(25, 25));
jScrollPane2.setName("jScrollPane2"); // NOI18N

jTextArea2.setLineWrap(true);
jTextArea2.setWrapStyleWord(true);
jTextArea2.setMinimumSize(new java.awt.Dimension(25, 25));
jTextArea2.setName("jTextArea2"); // NOI18N
jScrollPane2.setViewportView(jTextArea2);

javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
jPanel2.setLayout(jPanel2Layout);
jPanel2Layout.setHorizontalGroup(
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
jPanel2Layout.setVerticalGroup(
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 367, Short.MAX_VALUE)
);

jTabbedPane1.addTab(resourceMap.getString("jPanel2.TabConstraints.tabTitle"), jPanel2); // NOI18N

javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ FormErrorLog.title=Konsole
errorMsg=Helfen Sie mit, den Zettelkasten zu verbessern! Sofern Sie eine Fehlermeldung erhalten haben, senden Sie bitte den unten stehenden Bericht per E-Mail an den Autor! Sobald Sie die Schaltfl\u00e4che unten bet\u00e4tigen, \u00f6ffnet sich Ihr E-Mail-Programm. F\u00fcgen Sie dann den Text ein und schicken Sie die E-Mail ab. Sie helfen damit sehr, das Programm zu verbessern! Vielen Dank!
jButton2.text=Schlie\u00dfen
jPanel1.TabConstraints.tabTitle=General Log
jPanel2.TabConstraints.tabTitle=Session-Log
jPanel2.TabConstraints.tabTitle=Session Log
infoMsg=<html>F\u00fcgen Sie bitte nun den Text in die E-Mail ein (<b>Strg+V</b> oder <b>Befehl+V</b>)<br>und schicken Sie die E-Mail ab.</html>
infoTitle=Bericht senden

0 comments on commit 1104ccc

Please sign in to comment.