-
Bug
-
Resolution: Fixed
-
P3
-
7u51, 8, 9
-
b13
-
x86_64
-
windows_7
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8041643 | 9 | Sergey Malenkov | P3 | Resolved | Fixed | b15 |
JDK-8045742 | 8u25 | Sergey Malenkov | P3 | Resolved | Fixed | b01 |
JDK-8053571 | emb-8u26 | Unassigned | P3 | Resolved | Fixed | b17 |
FULL PRODUCT VERSION :
1.7 u51
ADDITIONAL OS VERSION INFORMATION :
Windows 7 64
A DESCRIPTION OF THE PROBLEM :
When the JScrollPane a lot of item and the scrollbar small is
the right border of the scrollbar di not show.
REGRESSION. Last worked in version 7u51
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Here is a simple Applet that show the problem
import javax.swing.JApplet;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;
public class ScrollbarApplet extends JApplet
{
public void init()
{
try {
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
}
catch (InstantiationException e) {}
catch (ClassNotFoundException e) {}
catch (UnsupportedLookAndFeelException e) {}
catch (IllegalAccessException e) {}
JTextArea textArea = new JTextArea(5, 2000);
JScrollPane pane = new JScrollPane(textArea);
this.add(pane);
}
}
ACTUAL -
The small horizontal scrollbar has no right border
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javax.swing.JApplet;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;
public class ScrollbarApplet extends JApplet
{
public void init()
{
try {
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
}
catch (InstantiationException e) {}
catch (ClassNotFoundException e) {}
catch (UnsupportedLookAndFeelException e) {}
catch (IllegalAccessException e) {}
JTextArea textArea = new JTextArea(5, 2000);
JScrollPane pane = new JScrollPane(textArea);
this.add(pane);
}
}
---------- END SOURCE ----------
1.7 u51
ADDITIONAL OS VERSION INFORMATION :
Windows 7 64
A DESCRIPTION OF THE PROBLEM :
When the JScrollPane a lot of item and the scrollbar small is
the right border of the scrollbar di not show.
REGRESSION. Last worked in version 7u51
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Here is a simple Applet that show the problem
import javax.swing.JApplet;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;
public class ScrollbarApplet extends JApplet
{
public void init()
{
try {
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
}
catch (InstantiationException e) {}
catch (ClassNotFoundException e) {}
catch (UnsupportedLookAndFeelException e) {}
catch (IllegalAccessException e) {}
JTextArea textArea = new JTextArea(5, 2000);
JScrollPane pane = new JScrollPane(textArea);
this.add(pane);
}
}
ACTUAL -
The small horizontal scrollbar has no right border
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javax.swing.JApplet;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;
public class ScrollbarApplet extends JApplet
{
public void init()
{
try {
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
}
catch (InstantiationException e) {}
catch (ClassNotFoundException e) {}
catch (UnsupportedLookAndFeelException e) {}
catch (IllegalAccessException e) {}
JTextArea textArea = new JTextArea(5, 2000);
JScrollPane pane = new JScrollPane(textArea);
this.add(pane);
}
}
---------- END SOURCE ----------
- backported by
-
JDK-8041643 The scrollbar in JScrollPane has no right border if used WindowsLookAndFeel
- Resolved
-
JDK-8045742 The scrollbar in JScrollPane has no right border if used WindowsLookAndFeel
- Resolved
-
JDK-8053571 The scrollbar in JScrollPane has no right border if used WindowsLookAndFeel
- Resolved