equal
deleted
inserted
replaced
327 public boolean isFullScreenSupported() { |
327 public boolean isFullScreenSupported() { |
328 return isFSExclusiveModeAllowed(); |
328 return isFSExclusiveModeAllowed(); |
329 } |
329 } |
330 |
330 |
331 @Override |
331 @Override |
|
332 @SuppressWarnings("deprecation") |
332 public synchronized void setFullScreenWindow(Window w) { |
333 public synchronized void setFullScreenWindow(Window w) { |
333 Window old = getFullScreenWindow(); |
334 Window old = getFullScreenWindow(); |
334 if (w == old) { |
335 if (w == old) { |
335 return; |
336 return; |
336 } |
337 } |
402 public boolean isDisplayChangeSupported() { |
403 public boolean isDisplayChangeSupported() { |
403 return (isFullScreenSupported() && getFullScreenWindow() != null); |
404 return (isFullScreenSupported() && getFullScreenWindow() != null); |
404 } |
405 } |
405 |
406 |
406 @Override |
407 @Override |
|
408 @SuppressWarnings("deprecation") |
407 public synchronized void setDisplayMode(DisplayMode dm) { |
409 public synchronized void setDisplayMode(DisplayMode dm) { |
408 if (!isDisplayChangeSupported()) { |
410 if (!isDisplayChangeSupported()) { |
409 super.setDisplayMode(dm); |
411 super.setDisplayMode(dm); |
410 return; |
412 return; |
411 } |
413 } |