este es el codigo completo
Código:
/*
* JCDWriter.java
*
* Created on November 20, 2002, 9:10 AM
*/
package ui;
import javax.swing.*;
import javax.swing.tree.*;
import java.net.InetAddress;
import java.awt.Cursor;
import java.util.ArrayList;
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import model.*;
/**
*
* @author rmallappa
*/
public class JCDWriter extends javax.swing.JFrame implements Runnable {
String pathSeparator = "/";
Object dragSource;
/** Creates new form JCDWriter */
public JCDWriter() {
initComponents();
initializeDragAndDropMechanism();
initializeMKISOFS();
initializeCDRECORDConfig();
initializeApplicationSettings();
}
private void initComponents() {
mainPanel = new javax.swing.JPanel();
hostToVirtualSplitPane = new javax.swing.JSplitPane();
topComponentPlaceHolder = new javax.swing.JLabel();
bottomComponentPlaceHolder = new javax.swing.JLabel();
statusBarPanel = new javax.swing.JPanel();
statusBar = new javax.swing.JLabel();
mainMenuBar = new javax.swing.JMenuBar();
fileMenu = new javax.swing.JMenu();
newLayout = new javax.swing.JMenuItem();
loadLayout = new javax.swing.JMenuItem();
saveLayout = new javax.swing.JMenuItem();
saveLaoutAs = new javax.swing.JMenuItem();
jSeparator1 = new javax.swing.JSeparator();
printMenu = new javax.swing.JMenu();
printVirtualFileSystemTree1 = new javax.swing.JMenuItem();
printGraftPoints1 = new javax.swing.JMenuItem();
jSeparator2 = new javax.swing.JSeparator();
exit = new javax.swing.JMenuItem();
editMenu = new javax.swing.JMenu();
helpMenu = new javax.swing.JMenu();
preferencesMenuItem = new javax.swing.JMenuItem();
deleteMenuItem = new javax.swing.JMenuItem();
insertMenuItem = new javax.swing.JMenuItem();
aboutMenuItem = new javax.swing.JMenuItem();
diskMenu = new javax.swing.JMenu();
scanbusTest = new javax.swing.JMenuItem();
recordFromISOImage = new javax.swing.JMenuItem();
blankCD = new javax.swing.JMenuItem();
createCDImage = new javax.swing.JMenuItem();
calculateFileSystemSize = new javax.swing.JMenuItem();
recordDirectly = new javax.swing.JMenuItem();
setTitle("JCDWriter");
setName("mainFrame");
addWindowListener(new java.awt.event.WindowAdapter() {
public void windowOpened(java.awt.event.WindowEvent evt) {
formWindowOpened(evt);
}
public void windowClosing(java.awt.event.WindowEvent evt) {
exitForm(evt);
}
});
lo envio en dos trozos que si no no me cabe