com.creamtec.ajaxswing.core
Class SafeAWTHelper

java.lang.Object
  extended by com.creamtec.ajaxswing.core.SafeAWTHelper

public class SafeAWTHelper
extends java.lang.Object

Provides class-loader safe access to protected package java.awt methods Without this class, ClientAgent.getCurrentInstance() cannot be used in Swing applications not running under AjaxSwing


Constructor Summary
SafeAWTHelper()
           
 
Method Summary
static java.lang.Thread getDispatchThread(java.awt.EventQueue queue)
           
static java.awt.EventQueue getEventQueue(java.lang.Thread thread)
           
static void setPrimeThread(java.awt.EventQueue queue, AjaxSwingThread thread)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SafeAWTHelper

public SafeAWTHelper()
Method Detail

setPrimeThread

public static void setPrimeThread(java.awt.EventQueue queue,
                                  AjaxSwingThread thread)

getDispatchThread

public static java.lang.Thread getDispatchThread(java.awt.EventQueue queue)

getEventQueue

public static java.awt.EventQueue getEventQueue(java.lang.Thread thread)


Copyright © 2000-2012 CreamTec LLC. All Rights Reserved.