Package uk.ac.starlink.datanode.nodes
Class ExceptionComponentMaker
- java.lang.Object
-
- uk.ac.starlink.datanode.nodes.ExceptionComponentMaker
-
- All Implemented Interfaces:
ComponentMaker
public class ExceptionComponentMaker extends java.lang.Object implements ComponentMaker
ComponentMaker which displays an error when activated.
-
-
Constructor Summary
Constructors Constructor Description ExceptionComponentMaker(java.lang.Throwable th)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JComponent
getComponent()
Return a Component.
-
-
-
Method Detail
-
getComponent
public javax.swing.JComponent getComponent()
Description copied from interface:ComponentMaker
Return a Component. It is only expected that this method will be called once for each instance of this class.- Specified by:
getComponent
in interfaceComponentMaker
- Returns:
- the Component
-
-