Class GuiBuilderHelper


  • public class GuiBuilderHelper
    extends java.lang.Object
    Simple class to help building GUI
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static javax.swing.JPanel getComponentWithMargin​(java.awt.Component component, int top, int left, int bottom, int right)  
      static javax.swing.JScrollPane getTextAreaScrollPaneContainer​(javax.swing.JTextArea textArea, int nbLines)  
      static void strechItemToComponent​(javax.swing.JComponent component, javax.swing.JComponent item)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GuiBuilderHelper

        public GuiBuilderHelper()
    • Method Detail

      • getTextAreaScrollPaneContainer

        public static javax.swing.JScrollPane getTextAreaScrollPaneContainer​(javax.swing.JTextArea textArea,
                                                                             int nbLines)
      • strechItemToComponent

        public static void strechItemToComponent​(javax.swing.JComponent component,
                                                 javax.swing.JComponent item)
      • getComponentWithMargin

        public static javax.swing.JPanel getComponentWithMargin​(java.awt.Component component,
                                                                int top,
                                                                int left,
                                                                int bottom,
                                                                int right)