- 
    Bug 
- 
    Resolution: Duplicate
- 
     P4 P4
- 
    8u45, 9
- 
        x86
- 
        os_x
                    FULL PRODUCT VERSION :
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Mac El Capitan OS
A DESCRIPTION OF THE PROBLEM :
Clicking on a scrollbar causes a crash on El Capitan.
A small example is attached.
REPRODUCIBILITY :
This bug can be reproduced often.
---------- BEGIN SOURCE ----------
import java.awt.*;
import javax.swing.*;
class ScrolledPane
extends JFrame
{
private JScrollPane scrollPane;
public ScrolledPane()
{
setTitle( "Scrolling Pane Application" );
setSize( 200, 200 );
setBackground( Color.gray );
setDefaultCloseOperation(EXIT_ON_CLOSE);
JPanel topPanel = new JPanel();
topPanel.setLayout( new BorderLayout() );
getContentPane().add( topPanel );
//Icon image = new ImageIcon( "chanceBlue.gif" );
JLabel label = new JLabel( "Hello World" );
// Create a tabbed pane
scrollPane = new JScrollPane();
scrollPane.getViewport().add( label );
topPanel.add( scrollPane, BorderLayout.CENTER );
}
public static void main( String args[] )
{
	
// Create an instance of the test application
ScrolledPane mainFrame = new ScrolledPane();
mainFrame.setVisible( true );
}
}
---------- END SOURCE ----------
            
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Mac El Capitan OS
A DESCRIPTION OF THE PROBLEM :
Clicking on a scrollbar causes a crash on El Capitan.
A small example is attached.
REPRODUCIBILITY :
This bug can be reproduced often.
---------- BEGIN SOURCE ----------
import java.awt.*;
import javax.swing.*;
class ScrolledPane
extends JFrame
{
private JScrollPane scrollPane;
public ScrolledPane()
{
setTitle( "Scrolling Pane Application" );
setSize( 200, 200 );
setBackground( Color.gray );
setDefaultCloseOperation(EXIT_ON_CLOSE);
JPanel topPanel = new JPanel();
topPanel.setLayout( new BorderLayout() );
getContentPane().add( topPanel );
//Icon image = new ImageIcon( "chanceBlue.gif" );
JLabel label = new JLabel( "Hello World" );
// Create a tabbed pane
scrollPane = new JScrollPane();
scrollPane.getViewport().add( label );
topPanel.add( scrollPane, BorderLayout.CENTER );
}
public static void main( String args[] )
{
// Create an instance of the test application
ScrolledPane mainFrame = new ScrolledPane();
mainFrame.setVisible( true );
}
}
---------- END SOURCE ----------
- duplicates
- 
                    JDK-8129538 [macosx] AWT file open dialog visually broken -           
- Closed
 
-