java.lang.NoSuchMethodError: java.awt.GridBagConstraints: method <init> (IIIIDDIILjava/awt/Insets;II)V not found

Oracle Community | 807594 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    how to use DrawString() in GridBagLayout?

    Oracle Community | 1 decade ago | 807594
    java.lang.NoSuchMethodError: java.awt.GridBagConstraints: method <init> (IIIIDDIILjava/awt/Insets;II)V not found

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      java.awt.GridBagConstraints: method <init> (IIIIDDIILjava/awt/Insets;II)V not found

      at GridBagPanelDraw2.init()
    2. Unknown
      GridBagPanelDraw2.init
      1. GridBagPanelDraw2.init(GridBagPanelDraw2.java:17)
      1 frame