I guess, you have created GUI using NetBean auto generated code.
Then, there must be a method as below: where all the gui components will be created.
@SuppressWarnings("uncheck
// <editor-fold defaultstate = "collapsed" desc = "Generated Code"> //GEN-BEGIN:initComponents
private void initComponents()
{
....
....
}
Main Topics
Browse All Topics





by: ozlevanonPosted on 2009-10-23 at 05:12:50ID: 25643577
You have no initComponents method anywhere in your code, so it can't be found. Your class doesn't have one, nor does the class it inherits from (JFrame).
Can you clarify where is this initComponents method you're referring to? In which class it is defined? Is it in one of your classes?