Skip to content

Commit

Permalink
tabbed pane change: scroll -> wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
harp077 committed May 2, 2022
1 parent c437e01 commit bac3b40
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 0 additions & 3 deletions src/main/java/my/harp07/PjFrame.form
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
<SubComponents>
<Container class="javax.swing.JTabbedPane" name="jTabbedPane1">
<Properties>
<Property name="tabLayoutPolicy" type="int" value="1"/>
</Properties>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout" value="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout$BorderConstraintsDescription">
<BorderConstraints direction="Center"/>
Expand Down
4 changes: 1 addition & 3 deletions src/main/java/my/harp07/PjFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class PjFrame extends javax.swing.JFrame {
public static String currentLAF = "de.muntjak.tinylookandfeel.TinyLookAndFeel";
public static String currentTheme = "lib/themes/Default.theme";
public static List<String> tinyTemes = new ArrayList<>();
public static String zagolovok = "Pure Java Network Tools, v1.0.70, build 02-05-2022";
public static String zagolovok = "Pure Java Network Tools, v1.0.71, build 02-05-2022";

public PjFrame() {
initComponents();
Expand Down Expand Up @@ -391,8 +391,6 @@ private void initComponents() {
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setUndecorated(true);

jTabbedPane1.setTabLayoutPolicy(javax.swing.JTabbedPane.SCROLL_TAB_LAYOUT);

jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder("Pinger"));
jPanel1.setLayout(new java.awt.BorderLayout());

Expand Down

0 comments on commit bac3b40

Please sign in to comment.