mirror of
https://github.com/hneemann/Digital.git
synced 2025-10-03 09:51:04 -04:00
removed some return values
This commit is contained in:
parent
ee329195e9
commit
8f0a481023
@ -75,20 +75,17 @@ public class ErrorMessage implements Runnable {
|
||||
|
||||
/**
|
||||
* Shows the error message
|
||||
*
|
||||
* @return this for call chaining
|
||||
*/
|
||||
public ErrorMessage show() {
|
||||
return show(null);
|
||||
public void show() {
|
||||
show(null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Shows the error message
|
||||
*
|
||||
* @param parent the parent
|
||||
* @return this for call chaining
|
||||
*/
|
||||
public ErrorMessage show(Component parent) {
|
||||
public void show(Component parent) {
|
||||
JOptionPane optionPane = new JOptionPane(
|
||||
new LineBreaker(120)
|
||||
.toHTML()
|
||||
@ -99,7 +96,6 @@ public class ErrorMessage implements Runnable {
|
||||
dialog.setAlwaysOnTop(true);
|
||||
dialog.setVisible(true);
|
||||
dialog.dispose();
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user