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
ff3a8055
Commit
ff3a8055
authored
Apr 25, 2015
by
Susanti Gojali
Browse files
change
parent
a4902c8a
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/client/src/tcpclient/MainPage.java
View file @
ff3a8055
...
...
@@ -2267,8 +2267,8 @@ public class MainPage extends javax.swing.JFrame {
String
name
=
response
.
getString
(
"name"
);
mapLabel
.
setText
(
"Map: "
+
name
);
int
dimX
=
response
.
getInt
(
"width"
)
+
5
;
int
dimY
=
response
.
getInt
(
"height"
)
+
9
;
int
dimX
=
response
.
getInt
(
"width"
);
int
dimY
=
response
.
getInt
(
"height"
);
mapModel
=
new
MapTableModel
(
dimX
,
dimY
);
ImageIcon
playerIcon
=
new
ImageIcon
(
getClass
().
getResource
(
"images/player.png"
));
...
...
src/server/build/classes/tcpserver/TCPServer.class
View file @
ff3a8055
No preview for this file type
src/server/src/tcpserver/TCPServer.java
View file @
ff3a8055
...
...
@@ -41,7 +41,7 @@ public class TCPServer implements Runnable {
serverClientSocket
=
new
ServerSocket
(
serverPort
);
servers
=
new
ArrayList
<
Host
>();
thisIP
=
"167.205.34.
248
"
;
thisIP
=
"167.205.34.
146
"
;
sql
=
new
MySQLAccess
();
findOfferTimes
=
new
String
[
10
];
for
(
int
i
=
0
;
i
<
10
;
i
++)
{
...
...
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