Commit 8d8042b1 authored by Hendro Triokta Brianto's avatar Hendro Triokta Brianto
Browse files

test server asisten

parent 7644cdc1
......@@ -114,7 +114,12 @@ public class Connection {
obj.put("method", "inventory");
obj.put("token", token);
return sendRequest(obj.toString());
String hasil = sendRequest(obj.toString());
System.out.println(hasil);
return hasil;
//return sendRequest(obj.toString());
}
public String sendFind(int idItem) throws JSONException, IOException{
......
......@@ -143,7 +143,7 @@ public class AlcMap extends javax.swing.JFrame {
for (int col = 0; col < cols; col++) {
labels[row][col] = new JLabel();
if((row == getPosX()) && (col == getPosY())){
if(dateCurrent.compareTo(dateMove)<0){
if(dateCurrent.compareTo(dateMove)>0){
labels[row][col].setIcon(new ImageIcon(getClass().getResource("/thealchemist/img/mami_run.gif")));
}
else{
......@@ -395,7 +395,6 @@ public class AlcMap extends javax.swing.JFrame {
lblTime.setText(dateString+" "+time);
System.out.println(connection.move(posX, posY));
x = posX;
y = posY;
//initMap();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment