https://github.com/jsonkao/squirrel
Spreadsheet application written in Java with JFrame.
https://github.com/jsonkao/squirrel
Last synced: about 1 year ago
JSON representation
Spreadsheet application written in Java with JFrame.
- Host: GitHub
- URL: https://github.com/jsonkao/squirrel
- Owner: jsonkao
- Created: 2016-12-20T17:29:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-12-19T05:22:05.000Z (over 8 years ago)
- Last Synced: 2025-02-06T10:15:17.839Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 379 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Squirrel
Squirrel is a software program designed by Jason Kao and William Soe. It is capable of creating and editing spreadsheets, saved with a .txt extension. General uses of Squirrel include cell-based calculation, random number generation, and various graphing tools.
Now compatible with Java 7!
## Working Features
- menu bar to access certain features
- with custom FileManager class, Squirrel is able to create new files, save current files, and open old files (with .txt extension)
- able to create histograms, bar charts, scatter plots, and line graphs
- histograms are also displayed in tabular format (includes bin, count, cumulative count, percent, and cumulative percent).
- random number generation through a uniform distribution and a normal distribution.
- basic math functions entered with "=()". The functions are sum and mean, and are suggested to the user via a dropdown for each textfield.
- spreadsheet is in a JScrollPane, allowing infinite rows/columns.
- minor UI features: selecting a row or column labels highlights the entire row or column, UI is customized based on OS,
## Unresolved Bugs
- histogram table output range can only take an output range which starts in the 'A' column
- the first time in checking the checkbox "bold", it italicizes the text instead.
- font sizes/names/styles aren't remembered in each cell in non-Mac OS
- styled cells are not saved in file
## How to Run
```
javac Squirrel.java
java Squirrel
```
## How to Use Squirrel
Squirrel's basic functionality works as any other spreadsheet editor: click to choose a cell, and then enter in a value. Cells can take in any values, even characters, but only numbers will run the graphs.
To enter the input/output ranges for the graphs, you must use the notation [startCol][startRow]:[endCol][endRow].
For line graphs, the input range must be one column.
For bar graphs, the input range must be two columns: the first being the bar name, the second being the data (INTEGERS ONLY).
For scatter graphs, the input range must be two columns--x and y values.
For histograms, the input range must be two columns: the first being the data, the second being the bin.
2010 lines.