/**
*
* @author Wesley, Group 3
*/
public class NewGUI extends javax.swing.JFrame {
/**
* Creates new form GUI
*/
public NewGUI() {
initComponents();
}
/**
* This method is called from within the constructor to initialize the form.
*/
@SuppressWarnings("unchecked")
// //GEN-BEGIN:initComponents
private void initComponents() {
jPanel5 = new javax.swing.JPanel();
jLabel3 = new javax.swing.JLabel();
segTableName = new javax.swing.JPanel();
jLabel1 = new javax.swing.JLabel();
exitButton = new javax.swing.JButton();
clearButton = new javax.swing.JButton();
segmentText = new javax.swing.JTextField();
pageText = new javax.swing.JTextField();
jLabel5 = new javax.swing.JLabel();
jLabel6 = new javax.swing.JLabel();
actionText = new javax.swing.JTextField();
jLabel7 = new javax.swing.JLabel();
jLabel8 = new javax.swing.JLabel();
goButton = new javax.swing.JButton();
jLabel9 = new javax.swing.JLabel();
jLabel10 = new javax.swing.JLabel();
resultText = new javax.swing.JTextField();
jLabel11 = new javax.swing.JLabel();
jLabel12 = new javax.swing.JLabel();
offsetText = new javax.swing.JTextField();
jLabel13 = new javax.swing.JLabel();
physMemory4 = new javax.swing.JPanel();
memorySeg3 = new javax.swing.JLabel();
physMemory6 = new javax.swing.JPanel();
memorySeg4 = new javax.swing.JLabel();
jScrollPane1 = new javax.swing.JScrollPane();
segTable = new javax.swing.JTable();
jScrollPane2 = new javax.swing.JScrollPane();
segTable1 = new javax.swing.JTable();
jPanel1 = new javax.swing.JPanel();
jLabel4 = new javax.swing.JLabel();
jPanel2 = new javax.swing.JPanel();
jLabel2 = new javax.swing.JLabel();
jPanel5.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5);
jPanel5.setLayout(jPanel5Layout);
jPanel5Layout.setHorizontalGroup(
jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 164, Short.MAX_VALUE)
);
jPanel5Layout.setVerticalGroup(
jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGap(0, 75, Short.MAX_VALUE)
);
jLabel3.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
jLabel3.setText("Read/Write");
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setTitle("Paging with MULTICS");
setBackground(new java.awt.Color(0, 153, 153));
setForeground(new java.awt.Color(0, 153, 153));
segTableName.setBackground(new java.awt.Color(204, 204, 204));
segTableName.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
jLabel1.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
jLabel1.setText("Paging with MULTICS");
exitButton.setText("Exit");
exitButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
exitButtonActionPerformed(evt);
}
});
clearButton.setText("Clear");
clearButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
clearButtonActionPerformed(evt);
}
});
jLabel5.setText("Page:");
jLabel6.setText("Segment:");
jLabel7.setText("Action:");
jLabel8.setText("(0 for Read, 1 for Write, 2 for Execute)");
goButton.setText("Go");
goButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
goButtonActionPerformed(evt);
}
});
jLabel9.setText("(3 or 4)");
jLabel10.setText("(0, 1 , 2, 3, 4)");
resultText.setEditable(false);
resultText.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
resultTextActionPerformed(evt);
}
});
jLabel11.setText("Result:");
jLabel12.setText("Offset:");
jLabel13.setText("(Only whole numbers)(1,2,3,4,etc)");
javax.swing.GroupLayout segTableNameLayout = new javax.swing.GroupLayout(segTableName);
segTableName.setLayout(segTableNameLayout);
segTableNameLayout.setHorizontalGroup(
segTableNameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(segTableNameLayout.createSequentialGroup()
.addContainerGap()
.addGroup(segTableNameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, segTableNameLayout.createSequentialGroup()
.addComponent(goButton)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(clearButton)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(exitButton))
.addGroup(segTableNameLayout.createSequentialGroup()
.addGroup(segTableNameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel1)
.addGroup(segTableNameLayout.createSequentialGroup()
.addGroup(segTableNameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel5)
.addComponent(jLabel6)
.addComponent(jLabel7)
.addComponent(jLabel12))
.addGap(32, 32, 32)
.addGroup(segTableNameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(offsetText, javax.swing.GroupLayout.DEFAULT_SIZE, 60, Short.MAX_VALUE)
.addComponent(pageText)
.addComponent(segmentText)
.addComponent(actionText))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(segTableNameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel8)
.addComponent(jLabel9)
.addComponent(jLabel10)
.addComponent(jLabel13))))
.addGap(0, 0, Short.MAX_VALUE))
.addGroup(segTableNameLayout.createSequentialGroup()
.addComponent(jLabel11)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(resultText)))
.addContainerGap())
);
segTableNameLayout.setVerticalGroup(
segTableNameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(segTableNameLayout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel1)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(segTableNameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(segmentText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel6)
.addComponent(jLabel9))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(segTableNameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(pageText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel5)
.addComponent(jLabel10))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(segTableNameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(actionText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel7)
.addComponent(jLabel8))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(segTableNameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel12)
.addComponent(offsetText, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel13))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 18, Short.MAX_VALUE)
.addGroup(segTableNameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel11, javax.swing.GroupLayout.Alignment.TRAILING)
.addComponent(resultText, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(18, 18, 18)
.addGroup(segTableNameLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(exitButton)
.addComponent(clearButton)
.addComponent(goButton))
.addContainerGap())
);
physMemory4.setBackground(new java.awt.Color(255, 153, 153));
physMemory4.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
memorySeg3.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
memorySeg3.setText("Segment Three");
javax.swing.GroupLayout physMemory4Layout = new javax.swing.GroupLayout(physMemory4);
physMemory4.setLayout(physMemory4Layout);
physMemory4Layout.setHorizontalGroup(
physMemory4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(physMemory4Layout.createSequentialGroup()
.addContainerGap()
.addComponent(memorySeg3)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
physMemory4Layout.setVerticalGroup(
physMemory4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(physMemory4Layout.createSequentialGroup()
.addContainerGap()
.addComponent(memorySeg3)
.addContainerGap(30, Short.MAX_VALUE))
);
physMemory6.setBackground(new java.awt.Color(255, 204, 153));
physMemory6.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
memorySeg4.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
memorySeg4.setText("Segment Four");
javax.swing.GroupLayout physMemory6Layout = new javax.swing.GroupLayout(physMemory6);
physMemory6.setLayout(physMemory6Layout);
physMemory6Layout.setHorizontalGroup(
physMemory6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(physMemory6Layout.createSequentialGroup()
.addContainerGap()
.addComponent(memorySeg4)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
physMemory6Layout.setVerticalGroup(
physMemory6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(physMemory6Layout.createSequentialGroup()
.addContainerGap()
.addComponent(memorySeg4)
.addContainerGap(30, Short.MAX_VALUE))
);
segTable.setModel(new javax.swing.table.DefaultTableModel(
new Object [][] {
{"0", "4"},
{"1", "2"},
{"2", "On Disk"},
{"3", "7"},
{"4", "3"}
},
new String [] {
"Virtual Page #", "Page Frame #"
}
) {
boolean[] canEdit = new boolean [] {
false, false
};
public boolean isCellEditable(int rowIndex, int columnIndex) {
return canEdit [columnIndex];
}
});
jScrollPane1.setViewportView(segTable);
if (segTable.getColumnModel().getColumnCount() > 0) {
segTable.getColumnModel().getColumn(0).setResizable(false);
segTable.getColumnModel().getColumn(1).setResizable(false);
}
segTable1.setModel(new javax.swing.table.DefaultTableModel(
new Object [][] {
{"0", "3"},
{"1", "On Disk"},
{"2", "6"},
{"3", "5"},
{"4", "On Disk"}
},
new String [] {
"Virtual Page #", "Page Frame #"
}
) {
boolean[] canEdit = new boolean [] {
false, false
};
public boolean isCellEditable(int rowIndex, int columnIndex) {
return canEdit [columnIndex];
}
});
jScrollPane2.setViewportView(segTable1);
if (segTable1.getColumnModel().getColumnCount() > 0) {
segTable1.getColumnModel().getColumn(0).setResizable(false);
segTable1.getColumnModel().getColumn(1).setResizable(false);
}
jPanel1.setBackground(new java.awt.Color(255, 153, 153));
jPanel1.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
jLabel4.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
jLabel4.setText("Read/Execute");
javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel4)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
jPanel1Layout.setVerticalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addComponent(jLabel4)
.addGap(0, 14, Short.MAX_VALUE))
);
jPanel2.setBackground(new java.awt.Color(255, 204, 153));
jPanel2.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
jLabel2.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
jLabel2.setText("Read/Write");
javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
jPanel2.setLayout(jPanel2Layout);
jPanel2Layout.setHorizontalGroup(
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel2Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel2)
.addContainerGap(132, Short.MAX_VALUE))
);
jPanel2Layout.setVerticalGroup(
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel2Layout.createSequentialGroup()
.addComponent(jLabel2)
.addGap(0, 14, Short.MAX_VALUE))
);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(14, 14, 14)
.addComponent(segTableName, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(physMemory4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 213, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(physMemory6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
.addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(22, 22, 22))
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(segTableName, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addComponent(physMemory6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 107, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addComponent(physMemory4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 107, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
pack();
}// //GEN-END:initComponents
private void exitButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_exitButtonActionPerformed
System.exit(0);
}//GEN-LAST:event_exitButtonActionPerformed
private void clearButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_clearButtonActionPerformed
segmentText.setText("");
pageText.setText("");
actionText.setText("");
resultText.setText("");
offsetText.setText("");
}//GEN-LAST:event_clearButtonActionPerformed
private void goButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_goButtonActionPerformed
int segmentNumber, pageNumber, actionChoice;
segmentNumber = Integer.parseInt(segmentText.getText());
pageNumber = Integer.parseInt(pageText.getText());
actionChoice = Integer.parseInt(actionText.getText());
if(segmentNumber == 4)
{
if(actionChoice == 0)
{
switch(pageNumber)
{
case 0: resultText.setText("4" + "," + offsetText.getText());
break;
case 1: resultText.setText("2" + "," + offsetText.getText());
break;
case 2: resultText.setText("Page Fault, not loaded in memory, but on disk");
break;
case 3: resultText.setText("7" + "," + offsetText.getText());
break;
case 4: resultText.setText("3" + "," + offsetText.getText());
break;
}
}
if(actionChoice == 1)
{
switch(pageNumber)
{
case 0: resultText.setText("Segment 4, Page 0 now stores number: " + offsetText.getText());
break;
case 1: resultText.setText("Segment 4, Page 1 now stores number: " + offsetText.getText());
break;
case 2: resultText.setText("Page Fault, not loaded in memory, but on disk");
break;
case 3: resultText.setText("Segment 4, Page 3 now stores number: " + offsetText.getText());
break;
case 4: resultText.setText("Segment 4, Page 4 now stores number: " + offsetText.getText());
break;
}
}
if(actionChoice == 2)
{
resultText.setText("Protection Fault, no execute permissions.");
}
}
if(segmentNumber == 3)
{
if(actionChoice == 0)
{
switch(pageNumber)
{
case 0: resultText.setText("3" + "," + offsetText.getText());
break;
case 1: resultText.setText("Page Fault, not loaded in memory, but on disk");
break;
case 2: resultText.setText("6" + "," + offsetText.getText());
break;
case 3: resultText.setText("5" + "," + offsetText.getText());
break;
case 4: resultText.setText("Page Fault, not loaded in memory, but on disk");
break;
}
}
if(actionChoice == 2)
{
switch(pageNumber)
{
case 0: resultText.setText("Segment 3, Page 0 has been executed");
break;
case 1: resultText.setText("Page Fault, not loaded in memory, but on disk");
break;
case 2: resultText.setText("Segment 3, Page 2 has been executed");
break;
case 3: resultText.setText("Segment 3, Page 3 has been executed");
break;
case 4: resultText.setText("Page Fault, not loaded in memory, but on disk");
break;
}
}
if(actionChoice == 1)
{
resultText.setText("Protection Fault, no write permissions.");
}
}
}//GEN-LAST:event_goButtonActionPerformed
private void resultTextActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_resultTextActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_resultTextActionPerformed
/**
* @param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
* For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try {
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(NewGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(NewGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(NewGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(NewGUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
//
//
/* Create and display the form */
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new NewGUI().setVisible(true);
}
});
}
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JTextField actionText;
private javax.swing.JButton clearButton;
private javax.swing.JButton exitButton;
private javax.swing.JButton goButton;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel10;
private javax.swing.JLabel jLabel11;
private javax.swing.JLabel jLabel12;
private javax.swing.JLabel jLabel13;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JLabel jLabel5;
private javax.swing.JLabel jLabel6;
private javax.swing.JLabel jLabel7;
private javax.swing.JLabel jLabel8;
private javax.swing.JLabel jLabel9;
private javax.swing.JPanel jPanel1;
private javax.swing.JPanel jPanel2;
private javax.swing.JPanel jPanel5;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JScrollPane jScrollPane2;
private javax.swing.JLabel memorySeg3;
private javax.swing.JLabel memorySeg4;
private javax.swing.JTextField offsetText;
private javax.swing.JTextField pageText;
private javax.swing.JPanel physMemory4;
private javax.swing.JPanel physMemory6;
private javax.swing.JTextField resultText;
private javax.swing.JTable segTable;
private javax.swing.JTable segTable1;
private javax.swing.JPanel segTableName;
private javax.swing.JTextField segmentText;
// End of variables declaration//GEN-END:variables
}