Package 'CommonJavaJars'

Title: Useful libraries for building a Java based GUI under R
Description: Useful libraries for building a Java based GUI under R
Authors: Kornelius Rohmeyer (R package), see COPYRIGHTS file for the authors of the java libraries
Maintainer: Kornelius Rohmeyer <[email protected]>
License: GPL-2
Version: 1.0-6
Built: 2024-11-20 05:35:06 UTC
Source: https://github.com/r-forge/gsrmtp

Help Index


Useful libraries for building a Java based GUI under R

Description

Useful libraries for building a Java based GUI under R

Details

Package: CommonJavaJars
Type: Package
License: GPL-2
LazyLoad: yes

Since the CommonJavaJars package has relatively big library files (~ 7MByte) and should rarely be updated to save space in the CRAN archive, the more dynamic accompanying guide can be found at http://algorithm-forge.com/JavaGUI/.

Note

We provide the following Java libraries:

Author(s)

Kornelius Rohmeyer (author only of two libraries and of the R code for loading them), see the copyright note for the authors of the other java libraries.

Maintainer: Kornelius Rohmeyer [email protected]

Examples

## Not run: 
showGuideForJavaGUIs()


## End(Not run)

Registers all Java classes from the specified jar files from this package.

Description

Registers all Java classes from the specified jar files from this package.

Usage

loadJars(jars, java="J5")

Arguments

jars

A character vector containing the names of the jar files to load. Since the version numbers of the jar files in CommonJavaJars can change, best practice is to specify only an unambiguous part of the name, if there are no reasons not to use the latest version. See the example section.

java

This character string specifies the Java version all jar files should be compatible with. For example JGoodies Forms requires Java 6 in version 1.6.0. The default java="J5" will therefore load version 1.2.0 of JGoodies Forms.

Details

Registers all Java classes from the specified jar files from this package. An error is thrown if no matching jar file could be found for some of the specified jars.

Value

The function returns the full names (sometimes including the version number) of the loaded jar files. (Invisible character vector.)

Author(s)

Kornelius Rohmeyer [email protected]

Examples

## Not run: 
jars <- c("commons-collections", "commons-lang", "commons-logging", 
          "commons-validator", "forms",	"iText", "jhlir.jar", 
          "jlatexmath", "jxlayer", "log4j", "swing-worker")
		  
fullNames <- loadJars(jars)

fullNames

## End(Not run)

Shows the Guide for Creating Java GUIS.

Description

Shows the guide for creating Java GUIs.

Usage

showGuideForJavaGUIs ()

Details

Opens the URL to the guide for creating Java GUIs. (To take less space in the archive of CRAN and its mirrors, this package should be updated rarely. Therefore the often updated guide itself is not directly part of the package.)

Value

The function itself returns NULL.

Author(s)

Kornelius Rohmeyer [email protected]

Examples

## Not run: 
showGuideForJavaGUIs() 


## End(Not run)