Here you can find the source of showDbxAccessDeniedPrompt()
public static void showDbxAccessDeniedPrompt()
//package com.java2s; //License from project: Open Source License import javax.swing.JOptionPane; public class Main { public static void showDbxAccessDeniedPrompt() { JOptionPane.showMessageDialog(null, "The application failed to connect to your Dropbox account.\nThis might mean that " + "your access token is no longer valid or you are not connected to the Internet.", "Could not connect to Dropbox", JOptionPane.ERROR_MESSAGE); }//w w w .ja va 2s. c om }