No accessible API way to get titleborder text

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.1.5
    • Component/s: client-libs
    • beta
    • x86
    • windows_nt



      Name: el35337 Date: 05/31/98


      Since all JComponents can have a border, the text
      associated with a titledBorder is not accessible through
      accessible interface/apis.
       Here is the current hack we are doing for CSUN to get
      the text at least for JPanels:
             if (thisComponent instanceof JPanel) {
                Border b =((JPanel)thisComponent).getBorder();
                if (b instanceof TitledBorder) {
                   TitledBorder tb = (TitledBorder)b;
                   return tb.getTitle();

                }
             }
      but this doesn't work for the titledBorders shown
      in the border panel of swingset because the border
      is set on a JLabel extension.
      Could you implement a getAccessibleBorderTitle?
      (Review ID: 25800)
      ======================================================================

            Assignee:
            Lynn Monsanto (Inactive)
            Reporter:
            Erik Larsen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: