private void getApps() throws IOException {
        List<String> listOfApps = device.getPackageController().getPackages();
        DefaultListModel model = new DefaultListModel();
        for (String str : listOfApps) {
            String[] arr = str.split(":");
            model.addElement(arr[1]);
        }
        jList1.setModel(model);
    }