import dbconnectivity.*; import mysqlconnectus.*; JInternalFrame f = new JInternalFrame("Ciao"); JTextArea jt= new JTextArea(); f.setLocation(100,100); f.setSize(300,300); f.add(jt); jt.append("Ciao"); currentMainFrame.frameDesktop.add(f); f.setVisible(true); f.setClosable(true); currentMainFrame.currentAccess = new DatabaseSource(DatabaseSource.MYSQL,currentMainFrame); jt.append("\n"+currentMainFrame.currentAccess.access("root","","localhost")); currentMainFrame.accessDone=true;