public static void main(String[] args) {
        clientUtils = new ClientUtils();
        new Thread(new Runnable() {
            @Override
            public void run() {
                try {
                    Socket socket = new Socket("127.0.0.1", 5000);
                    new PrintStream(socket.getOutputStream()).println(Action.CREATE_STRING_AT + " \"Milk.\" 30 30 0");
                    new PrintStream(socket.getOutputStream()).println(Action.CREATE_STRING_AT + " \"Grapes\" 400 400 0");
                    new PrintStream(socket.getOutputStream()).println(Action.CREATE_STRING_AT + " \"Car.\" 60 60 0");
                    new PrintStream(socket.getOutputStream()).println(Action.CREATE_STRING_AT + " \"Damn right it is.\" 200 200 0");
                    new PrintStream(socket.getOutputStream()).println(Action.GET_STRINGS_IN_SCOPE + " 1 1 0 1024 576 1000");
                    DataInputStream dataInputStream = new DataInputStream(socket.getInputStream());

                    while (true) {
                        String line = dataInputStream.readLine();

                        char[] characters = line.toCharArray();
                        boolean open = false;
                        String string = "";
                        int depth = 0;

                        for (char character : characters) {
                            if (character == '\"') {
                                open = !open;
                                if (!open) {
                                    depth++;
                                    string += character;
                                    break;
                                }
                            }
                            if (open) {
                                string += character;
                            }
                            depth++;
                        }

                        String newString = line.substring(depth + 1, line.length());

                        String[] spl2 = newString.split("\\s+");

                        double x = Double.parseDouble(spl2[0]);
                        double y = Double.parseDouble(spl2[1]);
                        double z = Double.parseDouble(spl2[2]);

                        LocString locString = new LocString(string, x, y, z);
                        clientUtils.addString(locString);

                        RendererString rendererString = new RendererString(x, y, z, string);
                        strings.add(rendererString);

                        System.out.println(clientUtils.findLoc("car"));
                    }
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
        }).start();

        JFrame jFrame = new JFrame("Render");
        jFrame.setSize(1024, 576);
        jFrame.setVisible(true);
        jFrame.setResizable(false);
        jFrame.setLocationRelativeTo(null);
        jFrame.setContentPane(new TestClient());
    }