mirror of
https://github.com/hneemann/Digital.git
synced 2025-10-04 10:22:52 -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
|
* Shows the error message
|
||||||
*
|
|
||||||
* @return this for call chaining
|
|
||||||
*/
|
*/
|
||||||
public ErrorMessage show() {
|
public void show() {
|
||||||
return show(null);
|
show(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Shows the error message
|
* Shows the error message
|
||||||
*
|
*
|
||||||
* @param parent the parent
|
* @param parent the parent
|
||||||
* @return this for call chaining
|
|
||||||
*/
|
*/
|
||||||
public ErrorMessage show(Component parent) {
|
public void show(Component parent) {
|
||||||
JOptionPane optionPane = new JOptionPane(
|
JOptionPane optionPane = new JOptionPane(
|
||||||
new LineBreaker(120)
|
new LineBreaker(120)
|
||||||
.toHTML()
|
.toHTML()
|
||||||
@ -99,7 +96,6 @@ public class ErrorMessage implements Runnable {
|
|||||||
dialog.setAlwaysOnTop(true);
|
dialog.setAlwaysOnTop(true);
|
||||||
dialog.setVisible(true);
|
dialog.setVisible(true);
|
||||||
dialog.dispose();
|
dialog.dispose();
|
||||||
return this;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user