1

I want know difference between fallowing code

Jframe myframe= new Jframe();
myframe.add(new jbutton());

And

Contentpane cp=Myframe.getcontentpane();

cup.add(new jbutton());

SHAMBANNA
  • 302
  • 2
  • 11

0 Answers0