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

unexcepted behavior of LineBorder while using Boolean variable true

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 7, 8, 9
    • client-libs
    • b15
    • windows_8

        FULL PRODUCT VERSION :
        1.7

        ADDITIONAL OS VERSION INFORMATION :
        windows 8 pro version 6.2 (9200)

        EXTRA RELEVANT SYSTEM CONFIGURATION :
        the border ->setBorder( new LineBoder(Color.white,10,true)); is not working properly in java 7 update 21 while it will work excellent in java 6 version so u must improve it

        A DESCRIPTION OF THE PROBLEM :
        just use the setBorder( new LineBoder(Color.white,10,true)); line on any JLabel , JPanel etc. & it behave differently compare to previous release

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        just use the setBorder( new LineBoder(Color.white,10,true)); line on any JLabel , JPanel etc. & it behave differently compare to previous release

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        when we true the boolean variable curve are on the edges & there is 2 line u compile the same program in java 6 & then in java 7 u find that in java6 the apperance is very atttractive as compare to java 7 that all i want
        ACTUAL -
        just use the setBorder( new LineBoder(Color.white,10,true)); line on any JLabel , JPanel etc. & it behave differently compare to previous release

        ERROR MESSAGES/STACK TRACES THAT OCCUR :
        just use the setBorder( new LineBoder(Color.white,10,true)); line on any JLabel , JPanel etc. & it behave differently compare to previous release

        REPRODUCIBILITY :
        This bug can be reproduced always.

        ---------- BEGIN SOURCE ----------
        just use the setBorder( new LineBoder(Color.white,10,true)); line on any JLabel , JPanel etc. & it behave differently compare to previous release
        ---------- END SOURCE ----------

        CUSTOMER SUBMITTED WORKAROUND :
        no i am a BTech student whose had to submit his project in college i notice it when i install the latest version of java so i don't know the method as i am a beginner in java who simply use gridbaglayout and made standalone desktop application. to submit in his college and want good marks in Last semester :) that's all i am :)

        Thank u for ur suppot.

        SUPPORT :
        YES

              malenkov Sergey Malenkov (Inactive)
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: