# SOCR Java Applets Improvements Project

Jump to: navigation, search

## SOCR Project - SOCR Java Applets Improvements Project

### Project Goals

This project aims to fix reported bugs, extend and improve the available SOCR Java applets. Examples of these improvements are included below.

### Improvements

#### User Locale Specifications of Decimal separators "." and ","

In many of the SOCR applets, there are user entered values or data. There are difference between the European (",") and the American (".") notation of hte decimal separation. For instance in copy-pasting data in SOCR Charts or Analyses and specifying parameters and cut off in the SOCR Distributions we need to resolve the discrepancy between the "," and "." based decimal separators. For example, European users of the SOCR Distributions java applet have a problem with specifying numbers with a comma as decimal separator. Yet, entering Left/Right cut off values must be input using a period ("."). Sometimes, the annotation of the cursor at value 8.0 even uses both - period _and_ comma. It would be nice if the applet could use consistently the user-locale specific standard only and be tolerant to different input formats.

#### Snapshot functionality

The snapshot button functionality on many of the SOCR applets overwrites previous images (using the same filename) without warning. We need to make a "preference" setting that would allow users to select their choice once.

Also, the navigation to the "Snapshot" button using the Tab key (instead of mouse selection) requires "Space" key triggering/activation instead of "Enter" stroke. The default tab-based navigation standard is Tab (Traversal) and Space (Selection), but we can add an "Enter" for selection, as well.

#### Copy-Paste in IE

Some tabular data copy-paste does not work well in Internet Explorer (IE). For instance, copying these sepal and petal data into the SOCR Charts pastes all data into a single column instead of the original 5 columns.

One work around is to save the data into a text file like this (and use the File-Load functionality in the applets to load in the data).
 $\sharp$ Sepal_Length(cm) Sepal_Width(cm) Petal_Length(cm) Petal_Width(cm) Iris_Class 5.1 3.5 1.4 0.2 Iris-setosa 4.9 3.0 1.4 0.2 Iris-setosa 4.7 3.2 1.3 0.2 Iris-setosa 4.6 3.1 1.5 0.2 Iris-setosa ... 

Translate this page: