0 Replies Latest reply: Feb 8, 2010 11:36 AM by 800557 RSS

    Allow baseline aligment in a Bean

    800557
      I can align JLabels, JButtons and other components by baseline which means that the text on each object will be vertically aligned to each other.

      I've just started learning to build a JavaBean because I need some date picker component. This Bean is essentially a JPanel with a JTextField and a JButton side by side aligned by baseline but the bean itself, when added to the actual project, won't allow baseline alignment in NetBeans.

      Can I add this feature and make it correspond with the baseline of either the JTextField or the JButton or I can't because I'm extending a JPanel?