Commit d6b31fed authored by Kevin's avatar Kevin
Browse files

merge lagi

parents 8869e670 9c23d875
......@@ -3,4 +3,22 @@ do.depend=false
do.jar=true
javac.debug=true
javadoc.preview=true
<<<<<<< HEAD
user.properties.file=C:\\Users\\Kevin Zhong\\AppData\\Roaming\\NetBeans\\8.0.2\\build.properties
=======
user.properties.file=C:\\Users\\Muhammad Husain\\AppData\\Roaming\\NetBeans\\8.0.2\\build.properties
user.properties.file=C:\\Users\\Muhammad Husain\\AppData\\Roaming\\NetBeans\\8.0.2\\build.properties
user.properties.file=C:\\Users\\Fauzan Hilmi\\AppData\\Roaming\\NetBeans\\8.0.2\\build.properties
<<<<<<< HEAD
=======
user.properties.file=C:\\Users\\Fauzan Hilmi\\AppData\\Roaming\\NetBeans\\8.0.2\\build.properties
>>>>>>> 81215efa1262ec0a0607ee7817d450295a3c104a
=======
user.properties.file=C:\\Users\\Muhammad Husain\\AppData\\Roaming\\NetBeans\\8.0.2\\build.properties
>>>>>>> 1c21f22e21e30f2be31133ba62d6da31bff12400
>>>>>>> 9c23d875a4c2cfe071dc22767ef9dfd16ce7478b
......@@ -2,8 +2,6 @@
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="1"/>
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
<group>
<file>file:/C:/Users/Kevin%20Zhong/Documents/NetBeansProjects/Coba/src/client/TCPClient/src/TCPClient.java</file>
</group>
<group/>
</open-files>
</project-private>
......@@ -36,14 +36,16 @@ jar.archive.disabled=${jnlp.enabled}
jar.compress=false
jar.index=${jnlp.enabled}
javac.classpath=\
${file.reference.json-simple-1.1.1.jar}
${file.reference.json-simple-1.1.1.jar}:\
${libs.absolutelayout.classpath}:\
${libs.MongoDB_driver.classpath}
# Space-separated list of extra javac options
javac.compilerargs=
javac.deprecation=false
javac.processorpath=\
${javac.classpath}
javac.source=1.8
javac.target=1.8
javac.source=1.7
javac.target=1.7
javac.test.classpath=\
${javac.classpath}:\
${build.classes.dir}
......@@ -69,7 +71,7 @@ jnlp.signed=false
jnlp.signing=
jnlp.signing.alias=
jnlp.signing.keystore=
main.class=TCPClient
main.class=client.Login
# Optional override of default Codebase manifest attribute, use to prevent RIAs from being repurposed
manifest.custom.codebase=
# Optional override of default Permissions manifest attribute (supported values: sandbox, all-permissions)
......
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package client;
/**
*
* @author Fauzan Hilmi
*/
public class ClientHandler {
public static void Login(String username, String password) {
}
}
<?xml version="1.0" encoding="UTF-8" ?>
<Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
<Properties>
<Property name="defaultCloseOperation" type="int" value="3"/>
</Properties>
<SyntheticProperties>
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>
<SyntheticProperty name="generateCenter" type="boolean" value="false"/>
</SyntheticProperties>
<AuxValues>
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
</AuxValues>
<Layout>
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<Component id="Background" alignment="0" max="32767" attributes="0"/>
</Group>
</DimensionLayout>
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
<Component id="Background" alignment="0" max="32767" attributes="0"/>
</Group>
</DimensionLayout>
</Layout>
<SubComponents>
<Container class="javax.swing.JPanel" name="Background">
<Properties>
<Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
<Color blue="99" green="ff" red="99" type="rgb"/>
</Property>
</Properties>
<Layout>
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="103" alignment="0" groupAlignment="0" max="-2" attributes="0">
<Component id="NamaField" pref="253" max="32767" attributes="0"/>
<Component id="TimeCurrent" max="32767" attributes="0"/>
</Group>
<Component id="Time" alignment="0" min="-2" pref="235" max="-2" attributes="0"/>
<Component id="CharPosition" alignment="0" min="-2" pref="94" max="-2" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="1" attributes="0">
<Group type="102" attributes="0">
<Component id="Inventory" min="-2" pref="51" max="-2" attributes="0"/>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Component id="Mix" min="-2" pref="51" max="-2" attributes="0"/>
</Group>
<Component id="Field" min="-2" pref="55" max="-2" attributes="0"/>
</Group>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Component id="Tradebox" min="-2" pref="51" max="-2" attributes="0"/>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Component id="Offer" min="-2" pref="51" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="Find" min="-2" pref="51" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<Component id="Logout" min="-2" pref="51" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="34" max="-2" attributes="0"/>
<Component id="Char" min="-2" max="-2" attributes="0"/>
<EmptySpace max="32767" attributes="0"/>
</Group>
<Group type="102" alignment="1" attributes="0">
<Component id="Move" min="-2" max="-2" attributes="0"/>
<EmptySpace type="separate" max="-2" attributes="0"/>
<Component id="xfield" min="-2" pref="21" max="-2" attributes="0"/>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Component id="yfield" min="-2" pref="21" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="34" max="-2" attributes="0"/>
</Group>
</Group>
</Group>
<Group type="102" attributes="0">
<EmptySpace min="-2" pref="42" max="-2" attributes="0"/>
<Component id="Canvas" min="-2" max="-2" attributes="0"/>
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<EmptySpace max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Group type="102" attributes="0">
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Group type="102" attributes="0">
<Component id="NamaField" min="-2" pref="30" max="-2" attributes="0"/>
<EmptySpace max="32767" attributes="0"/>
<Component id="CharPosition" min="-2" pref="30" max="-2" attributes="0"/>
</Group>
<Component id="Char" alignment="1" min="-2" max="-2" attributes="0"/>
<Group type="102" alignment="1" attributes="0">
<Component id="Logout" min="-2" pref="47" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="13" max="-2" attributes="0"/>
</Group>
</Group>
<Group type="103" groupAlignment="0" attributes="0">
<Group type="102" alignment="0" attributes="0">
<EmptySpace min="-2" pref="11" max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="xfield" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="yfield" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="Move" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
</Group>
<Group type="102" alignment="0" attributes="0">
<EmptySpace max="-2" attributes="0"/>
<Component id="TimeCurrent" min="-2" max="-2" attributes="0"/>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<Component id="Time" min="-2" max="-2" attributes="0"/>
</Group>
</Group>
</Group>
<Group type="102" attributes="0">
<Group type="103" groupAlignment="0" attributes="0">
<Component id="Inventory" alignment="1" min="-2" pref="47" max="-2" attributes="0"/>
<Component id="Mix" alignment="1" min="-2" pref="47" max="-2" attributes="0"/>
<Component id="Tradebox" alignment="1" min="-2" pref="47" max="-2" attributes="0"/>
<Component id="Offer" alignment="1" min="-2" pref="47" max="-2" attributes="0"/>
<Component id="Find" alignment="1" min="-2" pref="47" max="-2" attributes="0"/>
</Group>
<EmptySpace max="32767" attributes="0"/>
<Component id="Field" min="-2" pref="47" max="-2" attributes="0"/>
</Group>
</Group>
<EmptySpace type="separate" max="-2" attributes="0"/>
<Component id="Canvas" max="32767" attributes="0"/>
<EmptySpace min="-2" pref="58" max="-2" attributes="0"/>
</Group>
</Group>
</DimensionLayout>
</Layout>
<SubComponents>
<Component class="javax.swing.JLabel" name="NamaField">
<Properties>
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
<Font name="Kalinga" size="18" style="1"/>
</Property>
<Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
<Color blue="66" green="66" red="66" type="rgb"/>
</Property>
<Property name="text" type="java.lang.String" value="Nama Field"/>
<Property name="toolTipText" type="java.lang.String" value=""/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="Char">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/client/image/charsteadygif.gif"/>
</Property>
</Properties>
</Component>
<Component class="javax.swing.JButton" name="Move">
<Properties>
<Property name="text" type="java.lang.String" value="Move To"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="MoveActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JButton" name="Field">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/client/image/field.png"/>
</Property>
<Property name="toolTipText" type="java.lang.String" value="field"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="FieldActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JButton" name="Inventory">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/client/image/inventory.gif"/>
</Property>
<Property name="toolTipText" type="java.lang.String" value="inventory"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="InventoryActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JButton" name="Mix">
<Properties>
<Property name="text" type="java.lang.String" value="Mix"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="MixActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JButton" name="Tradebox">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/client/image/trade.png"/>
</Property>
<Property name="toolTipText" type="java.lang.String" value="trade"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="TradeboxActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JButton" name="Find">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/client/image/zoom.png"/>
</Property>
<Property name="toolTipText" type="java.lang.String" value="find"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="FindActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JButton" name="Offer">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/client/image/offer.png"/>
</Property>
<Property name="toolTipText" type="java.lang.String" value="offer"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="OfferActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JLabel" name="Time">
<Properties>
<Property name="text" type="java.lang.String" value="Time"/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="TimeCurrent">
<Properties>
<Property name="text" type="java.lang.String" value="Time Current"/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="CharPosition">
<Properties>
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
<Font name="Kalinga" size="18" style="1"/>
</Property>
<Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
<Color blue="66" green="66" red="66" type="rgb"/>
</Property>
<Property name="text" type="java.lang.String" value="Position"/>
<Property name="toolTipText" type="java.lang.String" value=""/>
</Properties>
</Component>
<Component class="javax.swing.JTextField" name="xfield">
<Properties>
<Property name="text" type="java.lang.String" value="0"/>
<Property name="toolTipText" type="java.lang.String" value="posisi x"/>
</Properties>
</Component>
<Component class="javax.swing.JTextField" name="yfield">
<Properties>
<Property name="text" type="java.lang.String" value="0"/>
<Property name="toolTipText" type="java.lang.String" value="posisi y"/>
</Properties>
</Component>
<Container class="javax.swing.JPanel" name="Canvas">
<Layout>
<DimensionLayout dim="0">
<Group type="103" groupAlignment="0" attributes="0">
<EmptySpace min="0" pref="655" max="32767" attributes="0"/>
</Group>
</DimensionLayout>
<DimensionLayout dim="1">
<Group type="103" groupAlignment="0" attributes="0">
<EmptySpace min="0" pref="513" max="32767" attributes="0"/>
</Group>
</DimensionLayout>
</Layout>
</Container>
<Component class="javax.swing.JButton" name="Logout">
<Properties>
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
<Image iconType="3" name="/client/image/logout.png"/>
</Property>
<Property name="toolTipText" type="java.lang.String" value="Logout"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="LogoutActionPerformed"/>
</Events>
</Component>
</SubComponents>
</Container>
</SubComponents>
</Form>
This diff is collapsed.
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package client;
import javax.swing.*;
/**
*
* @author Muhammad Husain
*/
public final class Invent extends JPanel{
public Invent(){
this.setSize(655,519);
initComponent();
}
public void initComponent(){
Back = new javax.swing.JButton();
Level1 = new javax.swing.JPanel();
Honey = new javax.swing.JLabel();
Herbs = new javax.swing.JLabel();
Mineral = new javax.swing.JLabel();
Clay = new javax.swing.JLabel();
Level2 = new javax.swing.JPanel();
Potion = new javax.swing.JLabel();
Incense = new javax.swing.JLabel();
Gem = new javax.swing.JLabel();
Level4 = new javax.swing.JPanel();
LifeElixir = new javax.swing.JLabel();
Crystal = new javax.swing.JLabel();
Level5 = new javax.swing.JPanel();
PhilosopherStone = new javax.swing.JLabel();
Back.setHorizontalAlignment(javax.swing.JTextField.CENTER);
Back.setText("Back");
Back.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
BackActionPerformed(evt);
}
});
Level1.setBackground(new java.awt.Color(153, 255, 51));
Honey.setIcon(new javax.swing.ImageIcon(getClass().getResource("/client/image/honey.png"))); // NOI18N
Honey.setText("Honey");
Herbs.setIcon(new javax.swing.ImageIcon(getClass().getResource("/client/image/herbs.jpg"))); // NOI18N
Herbs.setText("Herbs");
Mineral.setIcon(new javax.swing.ImageIcon(getClass().getResource("/client/image/mineral.png"))); // NOI18N
Mineral.setText("Mineral");
Clay.setIcon(new javax.swing.ImageIcon(getClass().getResource("/client/image/clay.jpg"))); // NOI18N
Clay.setText("Clay");
javax.swing.GroupLayout Level1Layout = new javax.swing.GroupLayout(Level1);
Level1.setLayout(Level1Layout);
Level1Layout.setHorizontalGroup(
Level1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(Level1Layout.createSequentialGroup()
.addContainerGap()
.addGroup(Level1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(Mineral, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(Honey, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(Herbs, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(Clay, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addContainerGap(64, Short.MAX_VALUE))
);
Level1Layout.setVerticalGroup(
Level1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(Level1Layout.createSequentialGroup()
.addContainerGap()
.addComponent(Honey, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 18)
.addComponent(Mineral, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 18)
.addComponent(Herbs)
.addGap(18, 18, 18)
.addComponent(Clay, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(33, Short.MAX_VALUE))
);
Level2.setBackground(new java.awt.Color(204, 204, 0));
Potion.setIcon(new javax.swing.ImageIcon(getClass().getResource("/client/image/potion.gif"))); // NOI18N
Potion.setText("Potion");
Incense.setIcon(new javax.swing.ImageIcon(getClass().getResource("/client/image/Incense.gif"))); // NOI18N
Incense.setText("Incense");
Gem.setIcon(new javax.swing.ImageIcon(getClass().getResource("/client/image/gem.png"))); // NOI18N
Gem.setText("Gem");
javax.swing.GroupLayout Level2Layout = new javax.swing.GroupLayout(Level2);
Level2.setLayout(Level2Layout);
Level2Layout.setHorizontalGroup(
Level2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(Level2Layout.createSequentialGroup()
.addContainerGap()
.addGroup(Level2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(Gem, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(Potion, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(Incense, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addContainerGap(64, Short.MAX_VALUE))
);
Level2Layout.setVerticalGroup(
Level2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(Level2Layout.createSequentialGroup()
.addContainerGap()
.addComponent(Potion, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 18)
.addComponent(Gem, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 18)
.addComponent(Incense)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
Level4.setBackground(new java.awt.Color(255, 204, 102));
LifeElixir.setIcon(new javax.swing.ImageIcon(getClass().getResource("/client/image/elixir life.jpg"))); // NOI18N
LifeElixir.setText("Lif Exilir");
Crystal.setIcon(new javax.swing.ImageIcon(getClass().getResource("/client/image/crystal.png"))); // NOI18N
Crystal.setText("Crystal");
javax.swing.GroupLayout Level4Layout = new javax.swing.GroupLayout(Level4);
Level4.setLayout(Level4Layout);
Level4Layout.setHorizontalGroup(
Level4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(Level4Layout.createSequentialGroup()
.addContainerGap()
.addGroup(Level4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(Crystal, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(LifeElixir, javax.swing.GroupLayout.DEFAULT_SIZE, 87, Short.MAX_VALUE))
.addContainerGap(64, Short.MAX_VALUE))
);
Level4Layout.setVerticalGroup(
Level4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(Level4Layout.createSequentialGroup()
.addContainerGap()
.addComponent(LifeElixir, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 18)
.addComponent(Crystal, javax.swing.GroupLayout.PREFERRED_SIZE, 41, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(33, Short.MAX_VALUE))
);
Level5.setBackground(new java.awt.Color(255, 102, 102));
PhilosopherStone.setIcon(new javax.swing.ImageIcon(getClass().getResource("/client/image/philosopher.jpg"))); // NOI18N
PhilosopherStone.setText("Philosopher");
javax.swing.GroupLayout Level5Layout = new javax.swing.GroupLayout(Level5);
Level5.setLayout(Level5Layout);
Level5Layout.setHorizontalGroup(
Level5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(Level5Layout.createSequentialGroup()
.addContainerGap()
.addComponent(PhilosopherStone)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
Level5Layout.setVerticalGroup(
Level5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(Level5Layout.createSequentialGroup()
.addContainerGap()
.addComponent(PhilosopherStone, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
this.setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addComponent(Level1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)