Bug 27852 - Bad dragging of decorated frames.
Summary: Bad dragging of decorated frames.
Status: UNCONFIRMED
Alias: None
Product: classpath
Classification: Unclassified
Component: swing (show other bugs)
Version: unspecified
: P3 normal
Target Milestone: ---
Assignee: Roman Kennke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-01 06:37 UTC by Sven de Marothy
Modified: 2006-06-01 06:37 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven de Marothy 2006-06-01 06:37:23 UTC
The dragging of decorated frames is buggy and jumpy. Probably due to MetalRootPaneUI.MetalTitlePane.mouseDragged not working the way it should be.

//Testcase
import javax.swing.*;
public class FrameDemo extends JFrame {
  public FrameDemo(){
    setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    setSize(200,200);
    setVisible(true);
  }
  public static void main(String[] args){
    JFrame.setDefaultLookAndFeelDecorated(true);
    new FrameDemo();
  }
}