Skip to content

Commit

Permalink
Changed window size and set title
Browse files Browse the repository at this point in the history
  • Loading branch information
alvar0liveira committed Dec 8, 2021
1 parent c705dd8 commit 545d922
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 4 deletions.
18 changes: 18 additions & 0 deletions nb-configuration.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<project-shared-configuration>
<!--
This file contains additional configuration written by modules in the NetBeans IDE.
The configuration is intended to be shared among all the users of project and
therefore it is assumed to be part of version control checkout.
Without this configuration present, some functionality in the IDE may be limited or fail altogether.
-->
<properties xmlns="http://www.netbeans.org/ns/maven-properties-data/1">
<!--
Properties that influence various parts of the IDE, especially code formatting and the like.
You can copy and paste the single properties, into the pom.xml file and the IDE will pick them up.
That way multiple projects can share the same settings (useful for formatting rules for example).
Any value defined here will override the pom.xml file value but is only applicable to the current project.
-->
<netbeans.compile.on.save>all</netbeans.compile.on.save>
</properties>
</project-shared-configuration>
4 changes: 2 additions & 2 deletions src/main/java/Frontend/CreateDatabaseForm.form
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<Component id="jLabelPathToDB" max="32767" attributes="0"/>
<Component id="jLabel2" max="32767" attributes="0"/>
</Group>
<EmptySpace pref="187" max="32767" attributes="0"/>
<EmptySpace max="32767" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Component id="jButtonCreateNewDB" pref="146" max="32767" attributes="0"/>
Expand Down Expand Up @@ -76,7 +76,7 @@
</Group>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Component id="jButtonCreateNewDB" min="-2" max="-2" attributes="0"/>
<EmptySpace pref="116" max="32767" attributes="0"/>
<EmptySpace pref="35" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/Frontend/CreateDatabaseForm.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
.addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jLabelPathToDB, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 187, Short.MAX_VALUE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(jButtonCreateNewDB, javax.swing.GroupLayout.DEFAULT_SIZE, 146, Short.MAX_VALUE)
Expand Down Expand Up @@ -119,7 +119,7 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
.addComponent(jLabel2))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jButtonCreateNewDB)
.addContainerGap(116, Short.MAX_VALUE))
.addContainerGap(35, Short.MAX_VALUE))
);

pack();
Expand Down
1 change: 1 addition & 0 deletions src/main/java/Frontend/MainForm.form
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
<Properties>
<Property name="defaultCloseOperation" type="int" value="3"/>
<Property name="title" type="java.lang.String" value="Journaling"/>
</Properties>
<SyntheticProperties>
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>
Expand Down
1 change: 1 addition & 0 deletions src/main/java/Frontend/MainForm.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ private void initComponents() {
jButtonCreateToday = new javax.swing.JButton();

setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setTitle("Journaling");

jTextAreaNote.setColumns(20);
jTextAreaNote.setRows(5);
Expand Down

0 comments on commit 545d922

Please sign in to comment.