UIDefaults.getUI() failed for JInternalFrame$JDesktopIcon



I am using a particular Look and Feel, and a class derived from
JInternalFrame. Whenever the JInternalFrame class is invoked, it generated
an exception (please see stack trace at the bottom of this message).

I know that to correct this exception, I must do something along the lines
of the following:

UIManager.put(XXX, YYY);// Where XXX is the String used to identify the
JInternalFrame$JDesktopIcon's UIand YYY the ui class for it.

However, I do not know how to go about discerning the values for XXX and
YYY. How can I find those out? I have tried:
UIManager.getLookAndFeelDefaults().put("ClassLoader",
getClass().getClassLoader());
UIManager.put("JDesktopIcon",
javax.swing.JInternalFrame.JDesktopIcon.class.getName());
UIManager.put("JInternalFrame",
javax.swing.JInternalFrame.class.getName());
updateUI();

With no luck at al. Can someone please help me to find out what parameters I
need to pass here? Thanks, Ike

--------stack trace-----------------------
UIDefaults.getUI() failed: no ComponentUI class for:
javax.swing.JInternalFrame$JDesktopIcon[,0,0,0x0,invalid,hidden,alignmentX=0
..0,alignmentY=0.0,border=,flags=0,maximumSize=,minimumSize=,preferredSize=]
java.lang.Error
at javax.swing.UIDefaults.getUIError(Unknown Source)
at javax.swing.MultiUIDefaults.getUIError(Unknown Source)
at javax.swing.UIDefaults.getUI(Unknown Source)
at javax.swing.UIManager.getUI(Unknown Source)
at javax.swing.JInternalFrame$JDesktopIcon.updateUI(Unknown Source)
at javax.swing.JInternalFrame$JDesktopIcon.<init>(Unknown Source)
at javax.swing.JInternalFrame.<init>(Unknown Source)
at RalphVince.Controls.JScrollableDesktopPane.BaseInternalFrame.<init>()


.



Relevant Pages

  • Re: UIDefaults.getUI() failed for JInternalFrame$JDesktopIcon
    ... Whenever the JInternalFrame class is invoked, it generated an exception (please see stack trace at the bottom of this message). ...
    (comp.lang.java.gui)
  • Re: The IListSource does not contain any data sources.
    ... The IListSource does not contain any data sources. ... Exception Details: System.Web.HttpException: The IListSource does not ... be identified using the exception stack trace below. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Intermittant Server Error reading an MS Access DB
    ... Chuck ... > Dim i As Integer ... >> exception can be identified using the exception stack trace below. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ASP.NET 2.0 Web Page Problem?
    ... Based on the stack trace you've shown the problem is when the Operations_HBMBlockStatus page's Repeater1 ItemCreated event is being raised. ... You sister site might be hiding the exception by logging it or ignoring them somehow, I'd need to see the code to say for sure. ... I have obtained a scripted database and compiled ASP.NET 2.0 application from a sister site that I'm trying to implement locally. ... An unhandled exception occurred during the execution of the current web request. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: The IListSource does not contain any data sources.
    ... You said that things break after you try to login, ... The IListSource does not contain any data sources. ... Exception Details: System.Web.HttpException: The IListSource does ... be identified using the exception stack trace below. ...
    (microsoft.public.dotnet.framework.aspnet)