--- a/tool/src/GUI/StartupScreen.java
+++ b/tool/src/GUI/StartupScreen.java
@@ -66,57 +66,38 @@
labelLogo = new javax.swing.JLabel();
progressBar = new javax.swing.JProgressBar();
progressText = new javax.swing.JLabel();
- labelTitle = new javax.swing.JLabel();
- labelDisclaimer = new javax.swing.JLabel();
setLocationByPlatform(true);
+ setUndecorated(true);
setResizable(false);
- setUndecorated(true);
labelLogo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/logo.png"))); // NOI18N
progressText.setText("Loading data, please wait..");
-
- labelTitle.setFont(new java.awt.Font("Times New Roman", 0, 48)); // NOI18N
- labelTitle.setText("SPDX Studio");
-
- labelDisclaimer.setFont(new java.awt.Font("Tahoma", 2, 10)); // NOI18N
- labelDisclaimer.setText("<html>SPDX is a registered trademark from the Linux Foundation.<br>\nTo read more details, please visit http://spdx.org</html>");
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
+ .addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(progressBar, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGroup(layout.createSequentialGroup()
- .addContainerGap()
- .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addComponent(progressBar, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
- .addGroup(layout.createSequentialGroup()
- .addComponent(progressText)
- .addGap(160, 178, Short.MAX_VALUE))))
- .addGroup(layout.createSequentialGroup()
- .addGap(55, 55, 55)
- .addComponent(labelLogo, javax.swing.GroupLayout.PREFERRED_SIZE, 220, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(progressText)
.addGap(0, 0, Short.MAX_VALUE)))
.addContainerGap())
- .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
- .addGap(0, 0, Short.MAX_VALUE)
- .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addComponent(labelDisclaimer, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
- .addComponent(labelTitle))
- .addGap(21, 21, 21))
+ .addGroup(layout.createSequentialGroup()
+ .addGap(83, 83, 83)
+ .addComponent(labelLogo, javax.swing.GroupLayout.PREFERRED_SIZE, 220, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap(93, Short.MAX_VALUE))
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
+ .addContainerGap(23, Short.MAX_VALUE)
.addComponent(labelLogo, javax.swing.GroupLayout.PREFERRED_SIZE, 123, javax.swing.GroupLayout.PREFERRED_SIZE)
- .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
- .addComponent(labelTitle)
- .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
- .addComponent(labelDisclaimer, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
- .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 32, Short.MAX_VALUE)
+ .addGap(18, 18, 18)
.addComponent(progressText)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(progressBar, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
@@ -169,9 +150,7 @@
});
}
// Variables declaration - do not modify//GEN-BEGIN:variables
- private javax.swing.JLabel labelDisclaimer;
private javax.swing.JLabel labelLogo;
- private javax.swing.JLabel labelTitle;
private javax.swing.JProgressBar progressBar;
private javax.swing.JLabel progressText;
// End of variables declaration//GEN-END:variables