Bläddra i källkod

Renamed DeleteBook to DeleteBookDialog for naming consistency

master
BinHong Lee 7 år sedan
förälder
incheckning
897750971d
2 ändrade filer med 4 tillägg och 4 borttagningar
  1. +1
    -1
      src/main/java/libsys/DeleteBookDialog.form
  2. +3
    -3
      src/main/java/libsys/DeleteBookDialog.java

src/main/java/libsys/DeleteBook.form → src/main/java/libsys/DeleteBookDialog.form Visa fil

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="libsys.DeleteBook">
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="libsys.DeleteBookDialog">
<grid id="cbd77" binding="contentPane" layout-manager="GridLayoutManager" row-count="2" column-count="1" same-size-horizontally="true" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="10" left="10" bottom="10" right="10"/>
<constraints>

src/main/java/libsys/DeleteBook.java → src/main/java/libsys/DeleteBookDialog.java Visa fil

@@ -8,13 +8,13 @@ import javax.swing.*;
import java.awt.*;
import java.awt.event.*;

public class DeleteBook extends JDialog {
public class DeleteBookDialog extends JDialog {
private JPanel contentPane;
private JButton buttonOK;
private JButton buttonCancel;
private JLabel warningLbl;

public DeleteBook() {
public DeleteBookDialog() {
setContentPane(contentPane);
setModal(true);
getRootPane().setDefaultButton(buttonOK);
@@ -58,7 +58,7 @@ public class DeleteBook extends JDialog {
}

public static void main(String[] args) {
DeleteBook dialog = new DeleteBook();
DeleteBookDialog dialog = new DeleteBookDialog();
dialog.pack();
dialog.setVisible(true);
System.exit(0);

Laddar…
Avbryt
Spara