public static void openWebpage(URI uri) {
    Desktop desktop = Desktop.isDesktopSupported() ? Desktop.getDesktop() : null;
    if (desktop != null && desktop.isSupported(Desktop.Action.BROWSE)) {
        try {
            desktop.browse(uri);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
And I don't know what the ? and the : at the end is meaning.
Desktop desktop = Desktop.isDesktopSupported() ? Desktop.getDesktop() : null;
Can you help me?
 
    