This document is the API specification for JavaFramework (http://software.glawar.at/javaframework/).

Start-Parameters

Versions history

overview
Version Date Description
v0.6b (R20100328a) 2010-04-10 based on Framework R20100328a it can now:
  • added buttons for deleting the received and sent SST-data as well in Client as Frame
  • also added a possibility to generate automatically a watchdog-telegram from server to client, but this shi... does not as I want
1.3.309 2013-12-08 Download
  • StopWatch is now static
  • isDevelopmentVersion now default is FALSE
  • PropertyFile Class added
  • getLanguageEntryPersonal in MainBase for personal Language properties
  • added StringUtils.addAddTextIntoFileName
  • MaingGUI.getMenuConfiguration() added to reuse menu configuration
  • BaseInternalFrame.getJavaFrameworkJFrame for using the base GUI
  • StringUtils.omitLeadingEndingApostrophe added
  • JavaClass Images added
  • added Files.archiveTargetFileBefore
  • added Files.copyFileWithBackup
  • added RunMe
1.4.347 2013-12-21 Download
  • ConfigFileConstants.MAX_ARCHIVES added
  • MainBase.getmaxArchives() added
  • MainBase.getDays4NextUpdate() added
  • new Constants for Default settings (default java, default log)
  • ConfigurationMenu for selecting the default language installed
  • addes Support for Closing in BaseJDialog
  • maxArchives default value is set to 5 now
  • added help-file (in HTML-format)
  • added new parameter in config-file for help-html-file
1.5.363 2013-12-22 Download
  • fixed a few bugs
1.6.380 2013-12-22 Download
  • fixed a few bugs
  • addes support for JavaHelp
1.7.382 2013-12-23 Download
  • fixed a few missing language entries (clear output window)
1.8.399 2013-12-26 Download
  • moved getMinFrameworkRevision() from MainGUI to MainBase
  • Parameter apprevision to return the application's revision added
  • Parameter jfrevision to return the JavaFramework's revision
  • parameter for font and size to determine the output-window
1.8.418 2013-12-27 Download
  • changed a few debugs to log-entries
1.9.426 2014-01-11 Download
  • MainGUI.getMenuItemAbout() for manipulating the help menu
  • added DatePicker

Intention

This framework was initiated becaus I often had to program minor things in Java that have many things in common. Therefore I decided to build a JavaFramework.

automatic Update

Example

ConfigFile

[APPLICATIONNAME]
# set the language (de or en)
lang = de
# if you have changed any parameters before installing ManageExif, you should
# adapt the base java-directory
javaBaseDir = /opt/glawar.at/java
# set the log-file directory, where the logging should be done
logfiledir = /var/log/glawar.at/ManageExif
# cheat to always update (set it to 1)
alwaysUpdate = 0
# set the next parameter to 1 if you want to activate automatic update
updateAutomatically = 0
# date and time of next update; if you want to force update set value to 0
nextAutomaticUpdate = 123
# updateurl (predefined by vendor)
updateurl = http://software.glawar.at/javaframework/download/
# set the following parameter to 1 if you are using a proxy
updateuseproxy = 0
# set the name of your proxy-server
updateproxy = proxyname.com
# set the port of your proxy-server
updateproxyport = 80
# max amount of files to archive during update; set to 0 if you don't want
# to activate archiving
maxArchives = 5
# set the look and feel (can be changed within the application)
lookandfeel = com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel
# if detailedOutput should be used (can be changed within the application)
detailedOutput = 1
# base directory where ManageExif start looking for images (can be changed within the application)
baseDataDir = /home/paco/Desktop
# set the following parameter to 1 if the source-file should be overwritten
# if set to 0 a the changed file will be renamed
useSameFile = 0
# set the default name for the copyright-tag
defaultCopyright = Paco
# set the font for the outputwindow
OutputWindowFont = Courier
# set the font size for the outputwindow
OutputWindowFontSize = 14

[Window]
extendedState = 0
width = 984
height = 836
x = 0
y = 24