no message
This commit is contained in:
@@ -27,10 +27,6 @@ public class BugReportsDBTable extends DBTable<String, BugReport> {
|
||||
return new BugReportsForm(this, mountPanel);
|
||||
}
|
||||
@Override
|
||||
public Comparator<BugReport> getComparator() {
|
||||
return (o1, o2) -> -(o1.getDate().compareTo(o2.getDate()));
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
return Current.BugReport;
|
||||
}
|
||||
|
||||
@@ -12,6 +12,7 @@ import _VisualDVM.Repository.BugReport.BugReport;
|
||||
import javax.swing.*;
|
||||
import java.awt.event.ActionEvent;
|
||||
import java.awt.event.KeyEvent;
|
||||
import java.util.Comparator;
|
||||
public class BugReportsForm extends DataSetControlForm<BugReport> {
|
||||
public BugReportsForm(DataSet<?, BugReport> dataSource_in, JPanel mountPanel_in) {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
@@ -77,4 +78,8 @@ public class BugReportsForm extends DataSetControlForm<BugReport> {
|
||||
PassCode.CloseBugReport,
|
||||
PassCode.DeleteBugReport);
|
||||
}
|
||||
@Override
|
||||
public Comparator<BugReport> getDefaultComparator() {
|
||||
return (o1, o2) -> -(o1.getDate().compareTo(o2.getDate()));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user