The following document contains the results of PMD's CPD 4.2.2.
File | Line |
---|---|
net/sf/jhylafax/DocumentQueuePanel.java | 21 |
net/sf/jhylafax/ReceiveQueuePanel.java | 21 |
public ReceiveQueuePanel(String queueName) { super(queueName); viewAction = new ViewAction(); saveAction = new SaveAction(); deleteAction = new DeleteAction(); getButtonPanel().add(Builder.createButton(viewAction)); getButtonPanel().add(Builder.createButton(saveAction)); getButtonPanel().add(Builder.createButton(deleteAction)); getTablePopupMenu().add(Builder.createMenuItem(viewAction)); getTablePopupMenu().add(Builder.createMenuItem(saveAction)); getTablePopupMenu().add(Builder.createMenuItem(deleteAction)); getTable().addMouseListener(new DoubleClickListener(viewAction)); updateLabels(); updateActions(); } @Override public FileStat getSelectedFile() { int row = getSelectedRow(); if (row == -1) { return null; } else { |