Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stephen
IF3230-Tugas-Besar-Sister-2015
Commits
71c06876
Commit
71c06876
authored
Apr 25, 2015
by
Susanti Gojali
Browse files
Change gui map
parent
ce5a2b11
Changes
12
Hide whitespace changes
Inline
Side-by-side
src/client/nbproject/private/private.properties
View file @
71c06876
compile.on.save
=
true
user.properties.file
=
C:
\\
Users
\\
Stephen
\\
AppData
\\
Roaming
\\
NetBeans
\\
8.0.2
\\
build.properties
user.properties.file
=
C:
\\
Users
\\
susanti_2
\\
AppData
\\
Roaming
\\
NetBeans
\\
8.0.2
\\
build.properties
src/client/nbproject/private/private.xml
View file @
71c06876
...
...
@@ -3,12 +3,8 @@
<editor-bookmarks
xmlns=
"http://www.netbeans.org/ns/editor-bookmarks/2"
lastBookmarkId=
"0"
/>
<open-files
xmlns=
"http://www.netbeans.org/ns/projectui-open-files/2"
>
<group>
<file>
file:/C:/Users/susanti_2/Documents/ITB/IF/netbeans/IF3230-Tugas-Besar-Sister-2015/src/client/src/tcpclient/ButtonRenderer.java
</file>
<file>
file:/C:/Users/susanti_2/Documents/ITB/IF/netbeans/IF3230-Tugas-Besar-Sister-2015/src/client/src/tcpclient/ButtonEditor.java
</file>
<file>
file:/C:/Users/susanti_2/Documents/ITB/IF/netbeans/IF3230-Tugas-Besar-Sister-2015/src/client/src/tcpclient/MapTableModel.java
</file>
<file>
file:/C:/Users/susanti_2/Documents/ITB/IF/netbeans/IF3230-Tugas-Besar-Sister-2015/src/client/src/tcpclient/TradeboxTableModel.java
</file>
<file>
file:/C:/Users/susanti_2/Documents/ITB/IF/netbeans/IF3230-Tugas-Besar-Sister-2015/src/client/src/tcpclient/JTableButtonMouseListener.java
</file>
<file>
file:/C:/Users/susanti_2/Documents/ITB/IF/netbeans/IF3230-Tugas-Besar-Sister-2015/src/client/src/tcpclient/MainPage.java
</file>
<file>
file:/C:/Users/susanti_2/Documents/ITB/IF/netbeans/IF3230-Tugas-Besar-Sister-2015/src/client/src/tcpclient/TCPClient.java
</file>
</group>
</open-files>
</project-private>
src/client/src/tcpclient/MainPage.form
View file @
71c06876
...
...
@@ -3,6 +3,7 @@
<Form
version=
"1.5"
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=
"Sister"
/>
</Properties>
<SyntheticProperties>
<SyntheticProperty
name=
"formSizePolicy"
type=
"int"
value=
"1"
/>
...
...
@@ -243,12 +244,12 @@
<Component
id=
"portLabel"
linkSize=
"7"
min=
"-2"
max=
"-2"
attributes=
"0"
/>
<Component
id=
"ipaddressLabel"
linkSize=
"7"
min=
"-2"
max=
"-2"
attributes=
"0"
/>
</Group>
<EmptySpace
pref=
"1
55
"
max=
"32767"
attributes=
"0"
/>
<EmptySpace
pref=
"1
67
"
max=
"32767"
attributes=
"0"
/>
<Group
type=
"103"
groupAlignment=
"0"
attributes=
"0"
>
<Component
id=
"ipaddressTextField"
linkSize=
"6"
alignment=
"1"
min=
"-2"
pref=
"151"
max=
"-2"
attributes=
"0"
/>
<Component
id=
"portTextField"
linkSize=
"6"
alignment=
"1"
min=
"-2"
max=
"-2"
attributes=
"0"
/>
</Group>
<EmptySpace
pref=
"
299
"
max=
"32767"
attributes=
"0"
/>
<EmptySpace
pref=
"
311
"
max=
"32767"
attributes=
"0"
/>
</Group>
<Group
type=
"102"
attributes=
"0"
>
<Group
type=
"103"
groupAlignment=
"0"
attributes=
"0"
>
...
...
@@ -580,15 +581,28 @@
<SubComponents>
<Component
class=
"javax.swing.JTable"
name=
"mapTable"
>
<Properties>
<Property
name=
"background"
type=
"java.awt.Color"
editor=
"org.netbeans.beaninfo.editors.ColorEditor"
>
<Color
blue=
"99"
green=
"ff"
red=
"99"
type=
"rgb"
/>
</Property>
<Property
name=
"border"
type=
"javax.swing.border.Border"
editor=
"org.netbeans.modules.form.editors2.BorderEditor"
>
<Border
info=
"org.netbeans.modules.form.compat2.border.EmptyBorderInfo"
>
<EmptyBorder/>
</Border>
</Property>
<Property
name=
"model"
type=
"javax.swing.table.TableModel"
editor=
"org.netbeans.modules.form.RADConnectionPropertyEditor"
>
<Connection
code=
"mapModel"
type=
"code"
/>
</Property>
<Property
name=
"cellSelectionEnabled"
type=
"boolean"
value=
"true"
/>
<Property
name=
"columnModel"
type=
"javax.swing.table.TableColumnModel"
editor=
"org.netbeans.modules.form.editors2.TableColumnModelEditor"
>
<TableColumnModel
selectionModel=
"0"
/>
</Property>
<Property
name=
"cursor"
type=
"java.awt.Cursor"
editor=
"org.netbeans.modules.form.editors2.CursorEditor"
>
<Color
id=
"Default Cursor"
/>
</Property>
<Property
name=
"enabled"
type=
"boolean"
value=
"false"
/>
<Property
name=
"gridColor"
type=
"java.awt.Color"
editor=
"org.netbeans.beaninfo.editors.ColorEditor"
>
<Color
blue=
"0"
green=
"0"
red=
"0"
type=
"rgb"
/>
</Property>
<Property
name=
"maximumSize"
type=
"java.awt.Dimension"
editor=
"org.netbeans.beaninfo.editors.DimensionEditor"
>
<Dimension
value=
"null"
/>
</Property>
...
...
@@ -599,7 +613,6 @@
<Property
name=
"preferredSize"
type=
"java.awt.Dimension"
editor=
"org.netbeans.beaninfo.editors.DimensionEditor"
>
<Dimension
value=
"null"
/>
</Property>
<Property
name=
"rowSelectionAllowed"
type=
"boolean"
value=
"false"
/>
<Property
name=
"tableHeader"
type=
"javax.swing.table.JTableHeader"
editor=
"org.netbeans.modules.form.RADConnectionPropertyEditor"
>
<Connection
code=
"null"
type=
"code"
/>
</Property>
...
...
@@ -1680,7 +1693,7 @@
<Component
id=
"FindIcon"
min=
"-2"
max=
"-2"
attributes=
"0"
/>
<Component
id=
"Find"
min=
"-2"
max=
"-2"
attributes=
"0"
/>
</Group>
<EmptySpace
min=
"0"
pref=
"1
6
5"
max=
"32767"
attributes=
"0"
/>
<EmptySpace
min=
"0"
pref=
"15
6
"
max=
"32767"
attributes=
"0"
/>
</Group>
</Group>
</DimensionLayout>
...
...
@@ -1910,15 +1923,29 @@
<Layout>
<DimensionLayout
dim=
"0"
>
<Group
type=
"103"
groupAlignment=
"0"
attributes=
"0"
>
<EmptySpace
min=
"0"
pref=
"908"
max=
"32767"
attributes=
"0"
/>
<Group
type=
"102"
alignment=
"0"
attributes=
"0"
>
<EmptySpace
min=
"-2"
pref=
"34"
max=
"-2"
attributes=
"0"
/>
<Component
id=
"jScrollPane1"
min=
"-2"
pref=
"851"
max=
"-2"
attributes=
"0"
/>
<EmptySpace
pref=
"23"
max=
"32767"
attributes=
"0"
/>
</Group>
</Group>
</DimensionLayout>
<DimensionLayout
dim=
"1"
>
<Group
type=
"103"
groupAlignment=
"0"
attributes=
"0"
>
<EmptySpace
min=
"0"
pref=
"540"
max=
"32767"
attributes=
"0"
/>
<Group
type=
"102"
alignment=
"0"
attributes=
"0"
>
<EmptySpace
min=
"-2"
pref=
"21"
max=
"-2"
attributes=
"0"
/>
<Component
id=
"jScrollPane1"
min=
"-2"
pref=
"497"
max=
"-2"
attributes=
"0"
/>
<EmptySpace
pref=
"22"
max=
"32767"
attributes=
"0"
/>
</Group>
</Group>
</DimensionLayout>
</Layout>
<SubComponents>
<Container
class=
"javax.swing.JScrollPane"
name=
"jScrollPane1"
>
<Layout
class=
"org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"
/>
</Container>
</SubComponents>
</Container>
</SubComponents>
</Container>
...
...
src/client/src/tcpclient/MainPage.java
View file @
71c06876
...
...
@@ -3,6 +3,7 @@ package tcpclient;
import
java.applet.Applet
;
import
java.awt.CardLayout
;
import
java.awt.Color
;
import
java.awt.Graphics
;
import
java.awt.Image
;
import
java.awt.event.ActionEvent
;
...
...
@@ -32,6 +33,7 @@ import javax.swing.JOptionPane;
import
javax.swing.JScrollPane
;
import
javax.swing.JTable
;
import
javax.swing.Timer
;
import
javax.swing.UIManager
;
import
javax.swing.table.AbstractTableModel
;
import
javax.swing.table.DefaultTableModel
;
import
javax.swing.table.JTableHeader
;
...
...
@@ -196,8 +198,10 @@ public class MainPage extends javax.swing.JFrame {
FindIcon
=
new
javax
.
swing
.
JButton
();
Find
=
new
javax
.
swing
.
JButton
();
tradeitemPanel
=
new
javax
.
swing
.
JPanel
();
jScrollPane1
=
new
javax
.
swing
.
JScrollPane
();
setDefaultCloseOperation
(
javax
.
swing
.
WindowConstants
.
EXIT_ON_CLOSE
);
setTitle
(
"Sister"
);
MenuPanel
.
setPreferredSize
(
new
java
.
awt
.
Dimension
(
848
,
45
));
...
...
@@ -377,11 +381,11 @@ public class MainPage extends javax.swing.JFrame {
.
addGroup
(
settingPanelLayout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
TRAILING
)
.
addComponent
(
portLabel
)
.
addComponent
(
ipaddressLabel
))
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
,
1
55
,
Short
.
MAX_VALUE
)
.
addPreferredGap
(
javax
.
swing
.
LayoutStyle
.
ComponentPlacement
.
RELATED
,
1
67
,
Short
.
MAX_VALUE
)
.
addGroup
(
settingPanelLayout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)
.
addComponent
(
ipaddressTextField
,
javax
.
swing
.
GroupLayout
.
Alignment
.
TRAILING
,
javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
151
,
javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)
.
addComponent
(
portTextField
,
javax
.
swing
.
GroupLayout
.
Alignment
.
TRAILING
,
javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
javax
.
swing
.
GroupLayout
.
DEFAULT_SIZE
,
javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
))
.
addContainerGap
(
299
,
Short
.
MAX_VALUE
))
.
addContainerGap
(
311
,
Short
.
MAX_VALUE
))
.
addGroup
(
settingPanelLayout
.
createSequentialGroup
()
.
addGroup
(
settingPanelLayout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)
.
addGroup
(
settingPanelLayout
.
createSequentialGroup
()
...
...
@@ -549,14 +553,18 @@ public class MainPage extends javax.swing.JFrame {
mapScrollPane
.
setAutoscrolls
(
true
);
mapTable
.
setBackground
(
new
java
.
awt
.
Color
(
153
,
255
,
153
));
mapTable
.
setBorder
(
javax
.
swing
.
BorderFactory
.
createEmptyBorder
(
1
,
1
,
1
,
1
));
mapTable
.
setModel
(
mapModel
);
mapTable
.
setCellSelectionEnabled
(
true
);
mapTable
.
setCursor
(
new
java
.
awt
.
Cursor
(
java
.
awt
.
Cursor
.
DEFAULT_CURSOR
));
mapTable
.
setEnabled
(
false
);
mapTable
.
setGridColor
(
new
java
.
awt
.
Color
(
0
,
0
,
0
));
mapTable
.
setMaximumSize
(
null
);
mapTable
.
setMinimumSize
(
mapTable
.
size
()
);
mapTable
.
setName
(
""
);
// NOI18N
mapTable
.
setPreferredSize
(
null
);
mapTable
.
setRowSelectionAllowed
(
false
);
mapTable
.
setTableHeader
(
null
);
mapTable
.
setUpdateSelectionOnSort
(
false
);
mapTable
.
setVerifyInputWhenFocusTarget
(
false
);
...
...
@@ -1492,7 +1500,7 @@ public class MainPage extends javax.swing.JFrame {
.
addGroup
(
finditemPanelLayout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)
.
addComponent
(
FindIcon
)
.
addComponent
(
Find
))
.
addGap
(
0
,
1
6
5
,
Short
.
MAX_VALUE
))
.
addGap
(
0
,
15
6
,
Short
.
MAX_VALUE
))
);
MainPanel
.
add
(
finditemPanel
,
"FindItemCard"
);
...
...
@@ -1501,11 +1509,17 @@ public class MainPage extends javax.swing.JFrame {
tradeitemPanel
.
setLayout
(
tradeitemPanelLayout
);
tradeitemPanelLayout
.
setHorizontalGroup
(
tradeitemPanelLayout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)
.
addGap
(
0
,
908
,
Short
.
MAX_VALUE
)
.
addGroup
(
tradeitemPanelLayout
.
createSequentialGroup
()
.
addGap
(
34
,
34
,
34
)
.
addComponent
(
jScrollPane1
,
javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
851
,
javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)
.
addContainerGap
(
23
,
Short
.
MAX_VALUE
))
);
tradeitemPanelLayout
.
setVerticalGroup
(
tradeitemPanelLayout
.
createParallelGroup
(
javax
.
swing
.
GroupLayout
.
Alignment
.
LEADING
)
.
addGap
(
0
,
540
,
Short
.
MAX_VALUE
)
.
addGroup
(
tradeitemPanelLayout
.
createSequentialGroup
()
.
addGap
(
21
,
21
,
21
)
.
addComponent
(
jScrollPane1
,
javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
,
497
,
javax
.
swing
.
GroupLayout
.
PREFERRED_SIZE
)
.
addContainerGap
(
22
,
Short
.
MAX_VALUE
))
);
MainPanel
.
add
(
tradeitemPanel
,
"TradeItemCard"
);
...
...
@@ -2253,24 +2267,26 @@ public class MainPage extends javax.swing.JFrame {
String
name
=
response
.
getString
(
"name"
);
mapLabel
.
setText
(
"Map: "
+
name
);
System
.
out
.
println
(
"map 2 ok"
);
int
dimX
=
response
.
getInt
(
"width"
);
int
dimY
=
response
.
getInt
(
"height"
);
int
dimX
=
response
.
getInt
(
"width"
)+
5
;
int
dimY
=
response
.
getInt
(
"height"
)+
9
;
mapModel
=
new
MapTableModel
(
dimX
,
dimY
);
ImageIcon
playerIcon
=
new
ImageIcon
(
getClass
().
getResource
(
"images/player.png"
));
Image
img
=
playerIcon
.
getImage
();
Image
newimg
=
img
.
getScaledInstance
(
125
,
125
,
java
.
awt
.
Image
.
SCALE_SMOOTH
);
ImageIcon
newPlayerIcon
=
new
ImageIcon
(
newimg
);
System
.
out
.
println
(
"map 4 ok"
);
mapModel
.
setValueAt
(
newPlayerIcon
,
client
.
x
,
client
.
y
);
mapTable
.
setModel
(
mapModel
);
mapTable
.
setGridColor
(
Color
.
LIGHT_GRAY
);
mapTable
.
setRowHeight
(
125
);
for
(
int
i
=
0
;
i
<
mapTable
.
getColumnModel
().
getColumnCount
();
i
++)
{
TableColumn
column
=
mapTable
.
getColumnModel
().
getColumn
(
i
);
column
.
setPreferredWidth
(
125
);
}
mapTable
.
setAutoResizeMode
(
JTable
.
AUTO_RESIZE_OFF
);
mapTable
.
setPreferredScrollableViewportSize
(
mapTable
.
getPreferredSize
());
...
...
@@ -2316,7 +2332,7 @@ public class MainPage extends javax.swing.JFrame {
tradeboxTable
.
setModel
(
tradeboxModel
);
tradeboxTable
.
setRowHeight
(
100
);
Action
delete
=
new
AbstractAction
()
Action
tradeAct
=
new
AbstractAction
()
{
public
void
actionPerformed
(
ActionEvent
e
)
{
...
...
@@ -2337,7 +2353,7 @@ public class MainPage extends javax.swing.JFrame {
}
}
};
ButtonColumn
buttonColumn
=
new
ButtonColumn
(
tradeboxTable
,
delete
,
4
);
ButtonColumn
buttonColumn
=
new
ButtonColumn
(
tradeboxTable
,
tradeAct
,
4
);
buttonColumn
.
setMnemonic
(
KeyEvent
.
VK_D
);
}
else
{
showMessage
(
"Tradebox Error. Try again later.."
);
...
...
@@ -2425,12 +2441,15 @@ public class MainPage extends javax.swing.JFrame {
* For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try
{
for
(
javax
.
swing
.
UIManager
.
LookAndFeelInfo
info
:
javax
.
swing
.
UIManager
.
getInstalledLookAndFeels
())
{
if
(
"Nimbus"
.
equals
(
info
.
getName
()))
{
javax
.
swing
.
UIManager
.
setLookAndFeel
(
info
.
getClassName
());
break
;
}
}
// for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
// if ("Nimbus".equals(info.getName())) {
// javax.swing.UIManager.setLookAndFeel(info.getClassName());
// break;
// }
// }
UIManager
.
setLookAndFeel
(
UIManager
.
getSystemLookAndFeelClassName
());
}
catch
(
ClassNotFoundException
ex
)
{
java
.
util
.
logging
.
Logger
.
getLogger
(
MainPage
.
class
.
getName
()).
log
(
java
.
util
.
logging
.
Level
.
SEVERE
,
null
,
ex
);
}
catch
(
InstantiationException
ex
)
{
...
...
@@ -2531,6 +2550,7 @@ public class MainPage extends javax.swing.JFrame {
private
javax
.
swing
.
JLabel
ipaddressLabel
;
private
javax
.
swing
.
JTextField
ipaddressTextField
;
private
javax
.
swing
.
JLabel
jLabel1
;
private
javax
.
swing
.
JScrollPane
jScrollPane1
;
private
javax
.
swing
.
JButton
loginButton
;
private
javax
.
swing
.
JLabel
loginLabel
;
private
javax
.
swing
.
JPanel
loginPanel
;
...
...
src/client/src/tcpclient/images/player.png
View replaced file @
ce5a2b11
View file @
71c06876
32.6 KB
|
W:
|
H:
91 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/server/build/built-jar.properties
View file @
71c06876
#
Wed
, 2
2
Apr 2015 1
6:28
:2
3
+0700
#
Fri
, 2
4
Apr 2015 1
5:40
:2
5
+0700
C\:\\Users\\
Stephen
\\Documents\\
N
et
B
eans
Projects\\Tubes
Sister\\src\\
server
=
C\:\\Users\\
susanti_2
\\Documents\\
ITB\\IF\\n
et
b
eans
\\IF3230-Tugas-Besar-
Sister
-2015
\\src\\
server
=
src/server/build/classes/tcpserver/TCPServer.class
View file @
71c06876
No preview for this file type
src/server/dist/TCPServer.jar
View file @
71c06876
No preview for this file type
src/server/dist/lib/p2psockets-core-1.1.2.jar
0 → 100644
View file @
71c06876
File added
src/server/nbproject/private/private.properties
View file @
71c06876
compile.on.save
=
true
<<<<<<<
HEAD
<<<<<<<
HEAD
=
======
user.properties.file
=
C:
\\
Users
\\
user
\\
AppData
\\
Roaming
\\
NetBeans
\\
8.0
\\
build.properties
=======
>>>>>>>
9b3bab9e9eefddca873933beff1cff411b869149
>>>>>>>
4425b3f14619792ceebdcdb264cb7c61d1d9d38c
do.depend
=
false
do.jar
=
true
javac.debug
=
true
javadoc.preview
=
true
<<<<<<<
HEAD
user.properties.file
=
C:
\\
Users
\\
Stephen
\\
AppData
\\
Roaming
\\
NetBeans
\\
8.0.2
\\
build.properties
=======
<<<<<<<
HEAD
user.properties.file
=
C:
\\
Users
\\
user
\\
AppData
\\
Roaming
\\
NetBeans
\\
8.0
\\
build.properties
user.properties.file
=
C:
\\
Users
\\
susanti_2
\\
AppData
\\
Roaming
\\
NetBeans
\\
8.0.2
\\
build.properties
=======
<<<<<<<
HEAD
<<<<<<<
HEAD
user.properties.file
=
C:
\\
Users
\\
susanti_2
\\
AppData
\\
Roaming
\\
NetBeans
\\
8.0.2
\\
build.properties
=======
user.properties.file
=
C:
\\
Users
\\
susanti_2
\\
AppData
\\
Roaming
\\
NetBeans
\\
8.0.2
\\
build.properties
>>>>>>>
f5cc2615451f416ad94e5b85c35aa84513a123d3
=
======
user.properties.file
=
C:
\\
Users
\\
susanti_2
\\
AppData
\\
Roaming
\\
NetBeans
\\
8.0.2
\\
build.properties
>>>>>>>
7d12ee92a34d06c0f223c1804ac375528b1b069d
>>>>>>>
9b3bab9e9eefddca873933beff1cff411b869149
>>>>>>>
4425b3f14619792ceebdcdb264cb7c61d1d9d38c
=
======
user.properties.file
=
C:
\\
Users
\\
Stephen
\\
AppData
\\
Roaming
\\
NetBeans
\\
8.0.2
\\
build.properties
>>>>>>>
6092b816dd3fdb47e423d8ff58331eee92413992
src/server/nbproject/private/private.xml
View file @
71c06876
...
...
@@ -3,13 +3,7 @@
<editor-bookmarks
xmlns=
"http://www.netbeans.org/ns/editor-bookmarks/2"
lastBookmarkId=
"0"
/>
<open-files
xmlns=
"http://www.netbeans.org/ns/projectui-open-files/2"
>
<group>
<<<<<<
< HEAD
<file>
file:/C:/Users/susanti_2/Documents/ITB/IF/netbeans/IF3230-Tugas-Besar-Sister-2015/src/server/src/tcpserver/TCPServer.java
</file>
=======
<file>
file:/C:/Users/Stephen/Documents/NetBeansProjects/TubesSister/src/server/src/tcpserver/TCPServer.java
</file>
<file>
file:/C:/Users/Stephen/Documents/NetBeansProjects/TubesSister/src/server/src/tcpserver/Host.java
</file>
<file>
file:/C:/Users/Stephen/Documents/NetBeansProjects/TubesSister/src/server/src/tcpserver/MySQLAccess.java
</file>
>>>>>>> 6092b816dd3fdb47e423d8ff58331eee92413992
</group>
</open-files>
</project-private>
src/server/src/tcpserver/TCPServer.java
View file @
71c06876
...
...
@@ -39,7 +39,7 @@ public class TCPServer implements Runnable {
serverPort
=
6789
;
serverClientSocket
=
new
ServerSocket
(
serverPort
);
servers
=
new
ArrayList
<
Host
>();
thisIP
=
"167.205.
71.56
"
;
thisIP
=
"167.205.
34.235
"
;
sql
=
new
MySQLAccess
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment