public void init() {
        try {
            berlin = new CustomFont("/font/berlinSansFB12White");
            coinImage = Image.createImage("/CoinShop.png");
            background = Image.createImage("/ShopBG.png");
            padlockImage = Image.createImage("/Padlock.png");
            cursorImage = Image.createImage("/Cursor.png");
            backImage = Image.createImage("/KembaliShop.png");
            boxImage = Image.createImage("/boxNotif.png");
            yesImage = Image.createImage("/Iya.png");
            cancelImage = Image.createImage("/Batal.png");
        } catch (IOException ex) {
            ex.printStackTrace();
        }

        profile = (MainProfile) engine.getProfile();

        itemButtons = new ItemButton[7];

        itemButtons[KITCHEN_SET] = new ItemButton(ItemDatabase.ALAT_MASAK, berlin, 10, 10, 50, 50, true, true, Color.BLACK, Color.WHITE, Color.RED, Color.BLUE);
        itemButtons[TONGKAT] = new ItemButton(ItemDatabase.TONGKAT, berlin, 70, 10, 50, 50, true, true, Color.BLACK, Color.WHITE, Color.RED, Color.BLUE);
        itemButtons[TALI] = new ItemButton(ItemDatabase.TALI, berlin, 130, 10, 50, 50, true, true, Color.BLACK, Color.WHITE, Color.RED, Color.BLUE);
        itemButtons[HASDUK] = new ItemButton(ItemDatabase.HASDUK, berlin, 10, 70, 50, 50, true, true, Color.BLACK, Color.WHITE, Color.RED, Color.BLUE);
        itemButtons[RING] = new ItemButton(ItemDatabase.RING, berlin, 70, 70, 50, 50, true, true, Color.BLACK, Color.WHITE, Color.RED, Color.BLUE);
        itemButtons[EMBLEM] = new ItemButton(ItemDatabase.BADGE, berlin, 130, 70, 50, 50, true, true, Color.BLACK, Color.WHITE, Color.RED, Color.BLUE);
        itemButtons[MENU_UTAMA] = new ItemButton(berlin, 10, 150, 50, 50, true, true, "Back", Color.BLACK, Color.WHITE, Color.RED, Color.BLUE);

        okButton = new DummyButton2(berlin, 130, 70, 50, 50, true, true, "OK", Color.BLACK, Color.WHITE, Color.RED, Color.BLUE);
        cancelButton = new DummyButton2(berlin, 190, 70, 50, 50, true, true, "Cancel", Color.BLACK, Color.WHITE, Color.RED, Color.BLUE);
        previewFrame = new DummyButton2(berlin, 200, 10, 100, 200, true, true, "PreviewFrame", Color.BLACK, Color.WHITE, Color.RED, Color.BLUE);
        descriptionFrame = new DummyButton2(berlin, 210, 100, 80, 90, true, true, "Description Frame", Color.BLACK, Color.WHITE, Color.RED, Color.BLUE);
        confirmFrame = new DummyButton2(berlin, 120, 60, 130, 80, true, true, "", Color.BLACK, Color.WHITE, Color.RED, Color.BLUE);
        moneyFrame = new DummyButton2(berlin, 260, 10, 50, 30, true, true, "Money: ", Color.BLACK, Color.WHITE, Color.RED, Color.BLUE);
        cursorState = KITCHEN_SET;
        windowState = BROWSE_STATE;
        itemButtons[cursorState].setIsChosen(true);



    }