public static boolean isMaximizedHorz(JFrame frame) {
    return X11 != null && hasWindowProperty(frame, X11.NET_WM_STATE, X11.NET_WM_STATE_MAXIMIZED_HORZ);
  }
public static boolean isMaximizedHorz(JFrame frame)