vgrid.view
Class GuiUtil

java.lang.Object
  extended by vgrid.view.GuiUtil

public class GuiUtil
extends java.lang.Object

Utillities for Swing GUIs


Method Summary
static GuiUtil current()
           
 javax.swing.ImageIcon loadImageResource(java.lang.String name)
           
 boolean showConfirmation(java.awt.Component parent, java.lang.String string)
           
 boolean showConfirmation(java.awt.Component parent, java.lang.String info, java.lang.String question)
           
 void showError(java.awt.Component parent, java.lang.String msg)
           
 void showInfo(java.awt.Component parent, java.lang.String msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

current

public static GuiUtil current()

showInfo

public void showInfo(java.awt.Component parent,
                     java.lang.String msg)

showError

public void showError(java.awt.Component parent,
                      java.lang.String msg)

showConfirmation

public boolean showConfirmation(java.awt.Component parent,
                                java.lang.String string)

showConfirmation

public boolean showConfirmation(java.awt.Component parent,
                                java.lang.String info,
                                java.lang.String question)

loadImageResource

public javax.swing.ImageIcon loadImageResource(java.lang.String name)


vgrid the vienna grid project