public static void main(String[] args) {
		// TODO tut esche ne delal
		// c camogo nach nada zadat znach iz ProgramFrame i otkrit sam fram

		CoreOfProgram mAnotherThread;
		mAnotherThread = new CoreOfProgram();
		mAnotherThread.start();
		{
			EventQueue.invokeLater(new Runnable() {
				public void run() {
					try {
						ProgramFrame window = new ProgramFrame();
						window.frame.setVisible(true);
					} catch (Exception e) {
						e.printStackTrace();
					}
				}
			});
		}

	}