Closed acollign closed 12 years ago
Could be easily enable with http://download.oracle.com/javase/tutorial/extra/fullscreen/exclusivemode.html (tested !)
just do it !
First release in 1110974485f8f3542d564a04a6983a5a76b1aa3c but I didn't work on layout issues... so Elios is really ugly in fullscreen mode !
layout changed in remote view : see #42
looks great .... and big on a 1920x1080 resolution screen :D
Before release 0.2, we have to finish the following things for this issue :
I've found another bug on my tablet when switching off fullscreen. Here is the stacktrace : Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Invalid display mode at sun.awt.X11GraphicsDevice.setDisplayMode(X11GraphicsDevice.java:413) at sun.awt.X11GraphicsDevice.setFullScreenWindow(X11GraphicsDevice.java:352) at java.awt.Window$1DisposeAction.run(Window.java:999) at java.awt.Window.doDispose(Window.java:1028) at java.awt.Window.dispose(Window.java:975) at net.eliosoft.elios.main.ToolbarFactory.turnOffFullScreen(Unknown Source) at net.eliosoft.elios.main.ToolbarFactory.access$100(Unknown Source) at net.eliosoft.elios.main.ToolbarFactory$2.actionPerformed(Unknown Source) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404) at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:308) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at java.awt.Component.processMouseEvent(Component.java:6108) at javax.swing.JComponent.processMouseEvent(JComponent.java:3276) at java.awt.Component.processEvent(Component.java:5873) at java.awt.Container.processEvent(Container.java:2105) at java.awt.Component.dispatchEventImpl(Component.java:4469) at java.awt.Container.dispatchEventImpl(Container.java:2163) at java.awt.Component.dispatchEvent(Component.java:4295) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055) at java.awt.Container.dispatchEventImpl(Container.java:2149) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4295) at java.awt.EventQueue.dispatchEvent(EventQueue.java:604) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
an idea ?
I have no idea ! Maybe we could set a flag (in the preferences system) if the problem occured so we have the ability to disable the fullscreen mode the next time.
I added some dummy error handling on full screen mode switching. Could you try to test on your device ?
I externalized the application state so we could now dispose the frame without shutting down the artnet server. Checkout ea683599e08c8a93d37aedca2733d9f5c52308d7 and tell me if it is ok for you
Could we consider that as closed ?
Need review !
It seems to be ok !
A full screen mode could be useful for device with touchscreen capabilities