Java open new windows at the second monitor in full screen size without toolbar

GraphicsConfiguration config = this.getGraphicsConfiguration(); GraphicsDevice myScreen = config.getDevice(); GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment(); GraphicsDevice[] gs = ge.getScreenDevices(); for (int i = 0; i < gs.length; i++) { // System.out.println(“id is ” + gs[i].getIDstring() + ” and the current id is ” + myScreen); // System.out.println(gs[i].getDisplayMode().getWidth() + ” ” + gs[i].getDisplayMode().getHeight()); if (!gs[i].equals(myScreen)) { // System.out.println(“i = ” + i); this.setLocation(gs[i].getDefaultConfiguration().getBounds().x, this.getY()); […]

» Read more

RXTX- Serial port java implementation

Installation for Windows RXTX installation procedure if you want to run RXTX enabled programs == If you just want to run RXTX enabled programs, follow this procedure. Identify your Java Runtime Environment’s folder. For version 1.6.0, this usually is c:\Program Files\Java\jre1.6.0_01\ Copy rxtxParallel.dll to c:\Program Files\Java\jre1.6.0_01\bin\ Copy rxtxSerial.dll to c:\Program Files\Java\jre1.6.0_01\bin\ Copy RXTXcomm.jar to c:\Program Files\Java\jre1.6.0_01\lib\ext\ NOTE: When installing on Windows XP Embedded, make sure you include crtdll.dll (in the […]

» Read more

How to set up the PATH with Windows10

The Windows 10 hide so many manual stuff that you can’t easily find out. However, it has been simplify to get the control panel than previous windows version by just typying “Control Panel” at the Cortana command line or say anything with microphone. After that, it will popup the control panel winodw. Then, the remain steps are same as conventional […]

» Read more
1 2 3 26