>>225
ごめん、勘違い。
public void paintComponent(Graphics g) {
  JButton b = new JButton("test");
  SwingUtilities.paintComponent(g, b, dummy, getBounds());
}
だけでいいようだ。