Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4368104

Bevel border with definable bevel width

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.3.0
    • client-libs



      Name: krC82822 Date: 09/02/2000


      2 Sep 2000, eval1127@eng -- see also # 4183333.

      My task was to design a complex status line for a Java app under JDK1.3
      consisting of a number of components which are seperated by graphical bars. It
      should look like the status lines known from Windows applications like the file
      explorer.

      Well, of course I took a look at BevelBorder. Comparing the results I found the
      design not acceptable: The bevel width is fixed to a width of 2. But for the
      status line I needed a thinner border. Or how about a thicker one?

      Browsing through the doc's I found that BevelBorder is very limited. Why can't
      I set the Bevel width to a prefered size (all other GUIs I know can do this).
      So I took a look at the sources and found that BevelBorder.java can be easily
      extended to satifiy my needs. I have attached my results.
      It is fully backwards compatible with the old version. I have also attached a
      little demo program.

      How about integrating this into the next JDK version ;-)

      (I hope the sources are readable. Can send it if requested)

      All the best
        Stefan Skopnik

      ###@###.###
      (Review ID: 107971)
      ======================================================================

            leifs Leif Samuelsson (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: