added doc
This commit is contained in:
parent
8d322f8019
commit
9765c9495e
@ -45,6 +45,13 @@ public final class SibaCLI
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param directoryToSave
|
||||
* the name of the directory to save
|
||||
* @throws SibaException
|
||||
* exception file not found
|
||||
*/
|
||||
public static void backup(final File directoryToSave) throws SibaException
|
||||
{
|
||||
File result;
|
||||
|
@ -120,7 +120,7 @@ public class AboutDialog extends JDialog
|
||||
{
|
||||
resource = "/org/dclermonte/siba/gui/about_en.html";
|
||||
}
|
||||
txtpnSimpleBackupDveloppeur.setText(SibaUtils.readResource(resource));
|
||||
txtpnSimpleBackupDveloppeur.setText(SibaUtils.readResourceFromJar(resource));
|
||||
panel.add(txtpnSimpleBackupDveloppeur);
|
||||
{
|
||||
JLabel lblNewLabel = new JLabel("");
|
||||
|
@ -32,11 +32,18 @@ import javax.swing.UIManager;
|
||||
*/
|
||||
public final class GUIToolBox
|
||||
{
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private GUIToolBox()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return string with lookAndFeel
|
||||
*/
|
||||
public static List<String> availableLookAndFeels()
|
||||
{
|
||||
List<String> result;
|
||||
|
@ -255,7 +255,7 @@ public final class SibaUtils
|
||||
* @throws IOException
|
||||
* IOException
|
||||
*/
|
||||
public static String readResource(final String resource) throws IOException
|
||||
public static String readResourceFromJar(final String resource) throws IOException
|
||||
{
|
||||
String result;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user