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

JLabel : HTML : Leading slash results in empty rendering

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 6u10
    • client-libs

      FULL PRODUCT VERSION :
      java version "1.6.0_10"
      Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
      Java HotSpot(TM) 64-Bit Server VM (build 11.0-b15, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Linux 2.6.27.7 #3 SMP Sun Nov 30 17:18:23 CET 2008 x86_64 AMD Turion(tm) 64 X2 Mobile Technology TL-60 GNU/Linux

      A DESCRIPTION OF THE PROBLEM :
      A JLabel with HTML tags and a leading / yields no render.

      <html>/sometext</html>

      whether it is a Label on a JFrame or in a table cell custom renderer.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      <html>/sometext</html>

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      /sometext
      ACTUAL -
      No display

      REPRODUCIBILITY :
      This bug can be reproduced always.

            peterz Peter Zhelezniakov
            igor Igor Nekrestyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: