#33 expose SwingComponent
[nikiroo-utils.git] / src / jexer / backend / SwingBackend.java
index bfbd07e2c4b64194e170211d0e43466f84d216e7..797caa821fbe9f14e1e8259fef86f1abc2368182 100644 (file)
@@ -155,4 +155,13 @@ public class SwingBackend extends GenericBackend {
         return ((SwingTerminal) terminal).getBlinkMillis();
     }
 
+    /**
+     * Getter for the underlying Swing component.
+     *
+     * @return the SwingComponent
+     */
+    public SwingComponent getSwingComponent() {
+        return ((SwingTerminal) terminal).getSwingComponent();
+    }
+
 }