MyBox User Guide – Overview v6.8










MyBox: Easy Tools Set

User Guide - Overview



Author: Mara

Version: 6.8

Date: 2024-2-9


Contents

1 Introduction 3

1.1 What's New 4

1.2 Notice 4

1.3 Cross Platforms 4

1.4 Internationalized 4

1.5 Personal 5

1.6 Friendly 5

1.7 Data Compatible 5

1.8 Embedded Database System 5

1.9 Assit Coding Self 6

2 Resources Addresses 7

3 Documents 8

4 Download and Execution 10

4.1 Source Codes 10

4.2 Self-contain packages 10

4.3 Jar 10

4.4 Versions 10

4.5 Configuration 11

4.6 Backup and Recover 11

4.7 Migration 12

5 Implementation 13

6 Common Functions in Interfaces 16

6.1 Main Interface 16

6.2 Interface Layout 17

6.3 Set Font Size 18

6.4 Open New Stage 18

6.5 Restore Scene Size 18

6.6 Recent Visited Files/Directories 19

6.7 Data Table 20

6.8 Context Menu 22

6.9 Window "Examples" 22

6.10 Window "Histories" 23

6.11 Color Block and Palette 24

7 Settings 25

7.1 Interface 26

7.2 Base 27

7.3 Data 27

7.4 PDF 28

7.5 Image 28

7.6 Map 29

8 Window 30

9 Windows List 31

10 Clear expired data 32

1 Introduction

This is desktop application based on JavaFx to provide simple and easy functions. It's free and open sources.


















1.1 What's New

2024-2-9 v6.8

Happy Chinese Loong Year!

Closed requirements/bugs in this version



1.2 Notice

Without enough testings, MyBox has low reliability and bad stability. When use MyBox, following may happen:

1.3 Cross Platforms

MyBox is implemented in pure Java and only based on open sources, and it can run on platforms which support Java 21.
Versions before v5.3 are based on Java 8.

1.4 Internationalized

  1. All codes of MyBox are internationalized. Language can be switched in time.

  2. Each langauge is defined in one resource files, like: "Messages_NAME.properties".

  3. Support adding new languages online. Table is provided with English as comparison. New langauges take effects at once.
    Example, the new language is named as "aa", and its resource files are Messages_aa.properties.

  4. Translated languages can be shared with others: Put the files under "mybox_languages" of data path and MyBox is aware of them immediately.

  5. Embed Chinese and English, whose files are under path MyBox/src/main/resources/bundles/.

Language

Resource file of interface

Chinese

Messages_zh_CN.properties

English

Messages_en.properties



1.5 Personal

  1. All functions are executed in local host.

  2. All data are saved in local host.

  3. No register/login/DataCenter/Cloud.

  4. Access network only when user requests.

  5. Only read/write data which user need.

1.6 Friendly

  1. Provide tips of current function/interface.

  2. Remember user’s inputs or selections, and provide histories list.

  3. Interfaces can be adjusted and some panes can be hidden.

  4. Behaviours of some controls can be chosen.

  5. Provide context menu and function menu to texts/image/html/table/tree.

  6. Current texts/image/html/data can be popped.

  7. Clipboards of texts/image/data can be managed.

  8. Provide examples and useful information.

  9. Appearance of interface and controls can be chosen and modified.

1.7 Data Compatible

  1. Exported data are in common text formats, like txt/csv/xml/json/html.

  2. Imported data are in common text format, like txt/csv.

  3. At least one exported format can be imported.

  4. Imported data are self-contain, that original data can be rebuilt without extra data.

1.8 Embedded Database System

  1. Derby is free and open sources:

  2. Derby runs in embedded mode by default:

  3. Derby can run in network mode:

  4. MyBox internal tables save the data required by all functions. User can access and modify the internal data online.

  5. User can define customized database tables.

  6. User can view and edit definitons and data of database tables in paginated tables, and execute SQL statements.

  7. To implement data sorting, tranposing, statistic, and grouping, MyBox will create temporary database tables, and clear them in time.

1.9 Assit Coding Self

  1. Monitor memory/CPU usage in real time.

  2. Adjust logging online.

  3. Generate icons automatically.

  4. Edit and apply languages online.

  5. Test automatically.

  6. All kinds of documents.











2 Resources Addresses


Contents

Link

Project Main Page

https://github.com/Mararsh/MyBox/

Source Codes and Compiled Packages

https://github.com/Mararsh/MyBox/releases

Submit Software Requirements and

Problem Reports

https://github.com/Mararsh/MyBox/issues

Data

https://github.com/Mararsh/MyBox_data

Documents

https://github.com/Mararsh/MyBoxDoc

Mirror Site

https://sourceforge.net/projects/mara-mybox/files/

Cloud Storage

https://pan.baidu.com/s/1fWMRzym_jh075OCX0D8y8A#list/path=%2F












3 Documents


Name

Version

Time

English

Chinese

Development Logs

6.8

2024-2-9

html

html

Shortcuts and icon

6.8

2024-2-9

html

html

Functions list

6.8

2024-2-9

html

html

Packing Steps

6.7.2

2023-4-16

html

html

Development Guide

2.1

2020-8-27

PDF odt

PDF odt

User Guide - Overview

6.8

2024-2-9

html PDF odt

html PDF odt

User Guide - Data Tools

6.7.2

2023-4-16

html PDF odt

html PDF odt

User Guide - Document Tools

6.7.1

2023-3-13

html PDF odt

html PDF odt

User Guide - Image Tools

6.7.2

2023-4-16

html PDF odt

html PDF odt

User Guide - File Tools

6.7.1

2023-3-13

html PDF odt

html PDF odt

User Guide - Network Tools

6.7.2

2023-4-16

html PDF odt

html PDF odt

User Guide - Media Tools

6.7.1

2023-3-13

html PDF odt

html PDF odt

User Guide - Development Tools

6.7.1

2023-3-13

html PDF odt

html PDF odt

Tips in Interfaces

6.8

2024-2-9

html

html

About - Tree Information

6.8

2024-2-9

html

html

About - Data in Two-dimensional Storage Structure

6.7.3

2023-5-22

html

html

About - row expression and row filter

6.7.2

2023-4-16

html

html

About - data grouping

6.7.1

2023-3-13

html

html

About - Data Analysis

6.6.1

2022-11-16

html

html

About - Coordinate System

6.6.1

2022-11-16

html

html

About - Color

6.6.1

2022-11-16

html

html

About - Image Scope

6.8

2024-2-9

html

html

About - Media

6.6.1

2022-11-16

html

html

About - Items in one sentence about java

6.7.3

2023-5-22

html

html

About - Items in one sentence about javafx

6.7.3

2023-5-22

html

html

Examples - Information in Tree

6.7.7

2023-9-30

html

html

Examples - Favorite Address

6.7.7

2023-9-30

html

html

Examples - Notes

6.7.7

2023-9-30

html

html

Examples - SQL

6.7.7

2023-9-30

html

html

Examples - JShell

6.7.7

2023-9-30

html

html

Examples - JEXL

6.7.7

2023-9-30

html

html

Examples - JavaScript

6.7.7

2023-9-30

html

html

Examples - Math Function

6.7.7

2023-9-30

html

html

Examples - Row Filter

6.7.7

2023-9-30

html

html

Examples - Define Data

6.7.7

2023-9-30

html

html

Palette - Default Colors

6.7.8

2024-1-15

rgba all

rgba all

Palette - Common Web Colors

6.7.8

2024-1-15

rgba all

rgba all

Palette - Chinese Traditional Colors

6.7.8

2024-1-15

rgba all

rgba all

Palette - Japanese Traditional Colors

6.7.8

2024-1-15

rgba all

rgba all

Palette - Colors from colorhexa.com

6.7.8

2024-1-15

rgba all

rgba all

Palette - Art hues wheel(RYB) - 12 colors

6.7.8

2024-1-15

rgba all

rgba all

Palette - Art hues wheel(RYB) - 24 colors

6.7.8

2024-1-15

rgba all

rgba all

Palette - Art hues wheel(RYB) - 360 colors

6.7.8

2024-1-15

rgba all

rgba all

Palette - Optical hues wheel(RGB) - 12 colors

6.7.8

2024-1-15

rgba all

rgba all

Palette - Optical hues wheel(RGB) - 24 colors

6.7.8

2024-1-15

rgba all

rgba all

Palette - Optical hues wheel(RGB) - 360 colors

6.7.8

2024-1-15

rgba all

rgba all

Palette - Art paints

6.7.8

2024-1-15

rgba all

rgba all

Palette - MyBox Colors

6.7.8

2024-1-15

rgba all

rgba all

Palette - Gray scale

6.7.8

2024-1-15

rgba all

rgba all

Stories of Images

6.8

2024-2-9

html PDF odt

html PDF odt

Useful links

6.7.8

2024-1-15

html

html





















4 Download and Execution

4.1 Source Codes

Source Codes

Size

Developement Guide

Packing Steps

MyBox-src.zip

73M-

pdf

html

4.2 Self-contain packages

Self-contain packages include all files and need not java env nor installation.

Platform

Link

Size

Launcher

win10 x64

MyBox-win-x64.zip

280MB-

MyBox.exe

CentOS 7 x64

MyBox-CentOS7-x64.tar.gz

320MB-

MyBox

mac

MyBox-mac.dmg

300MB-

MyBox.app


User can double click the launcher to start MyBox or run it by command line. The default "Open Method" of image/text/PDF files can be associated to MyBox and a file can be opened directly by MyBox by double clicking the file’s name.

4.3 Jar

When JRE or JDK(Oracle jdk or open jdk) is installed, jar can run:

Platform

Link

Size

Requirements

win

MyBox-win-jar.zip

240MB-

Java 21 or higher

linux

MyBox-linux.jar.gz

240MB-

Java 21 or higher

mac

MyBox-mac.jar.gz

240MB-

Java 21 or higher

Run following command to launch this program with Jar package:

     java   -jar   MyBox.jar

A file path can follow the command as argument to be opened directly by MyBox. Example, following command will open the image:

     java   -jar   MyBox.jar   /tmp/a1.jpg

4.4 Versions

Contents of this document may be expired, but its links refer to the latest versions.

The latest versions and all archived versions can be downloaded in following addresses:

address

dowloads

readme

github

https://github.com/Mararsh/MyBox/releases

English Chinese

sourceforge

https://sourceforge.net/projects/mara-mybox/files/

English Chinese

cloud

https://pan.baidu.com/s/1fWMRzym_jh075OCX0D8y8A#list/path=%2F




4.5 Configuration

Configuration file is under "User Home":

Platform

Path of MyBox Configuration File

win

C:\users\UserName\mybox\MyBox_vVersion.ini

linux

/home/UserName/mybox/MyBox_vVersion.ini

mac

/Users/UserName/mybox/MyBox_vVersion.ini

Add parameter "config="FilePath"" when run jar to change configuration file temporarily.
Function "Settings" can be used to change configuration values.

4.6 Backup and Recover

  1. To backup, copy directories to other places.

  2. To recover, override current directories with backup directories.

  3. Need not backup each directory under data path.

















































Predefined directories under data path are listed below:



directory

role

internal referred

read/write automatically

need backup

comments

AppTemp

temporary files

yes

yes

cleared automatically

buttons

customized buttons

yes

yes

data

internal data

yes

yes

dataClipboard

data clipboard

yes

yes

yes

doc

internal documents

yes

yes

downloads

download files

yes

fileBackups

files’ backups

yes

yes

yes

generated

generated files

yes

user decides

ICC

ICC profiles

yes

yes

icons

icon files

yes

yes

image

image files

yes

yes

imageClipboard

image clipbooard

yes

yes

yes

imageHistories

image edit histories

yes

yes

yes

imageScopes

image scopes

yes

yes

yes

js

javascript

yes

yes

logs

database logs

yes

map

map files

yes

yes

mybox_derby

database

yes

yes

yes

mybox_languages

customized languages

yes

yes

yes

security

cert files

yes

yes

sound

sound files

yes

yes




4.7 Migration

  1. Each version has itself’s configuration file. New version can copy parameters from existed versions.

  2. Data handled in each version are under "Data Directory" referred by it. Multiple versions can refer to same data directory.

  3. MyBox is backward compatibility: Later version can work on data of previous versions. While forward compatibility is not supported: Wrong may happen when old version handles data of new version.

5 Implementation

MyBox is based on following open sources:

Name

Role

Link

JDK

Java

http://jdk.java.net/

https://www.oracle.com/technetwork/java/javase/downloads/index.html

https://docs.oracle.com/en/java/javase/21/docs/api/index.html

JavaFx

GUI

https://gluonhq.com/products/javafx/

https://docs.oracle.com/javafx/2/

https://gluonhq.com/products/scene-builder/

https://openjfx.io/javadoc/21/

Derby

Database

http://db.apache.org/derby/

NetBeans

IDE

https://netbeans.org/

jpackage

pack

https://docs.oracle.com/en/java/javase/21/docs/specs/man/jpackage.html

maven

build

https://maven.apache.org/

jai-imageio

Image manufacture

https://github.com/jai-imageio/jai-imageio-core

PDFBox

PDF manufacture

https://pdfbox.apache.org/

PDF2DOM

PDF to html

http://cssbox.sourceforge.net/pdf2dom/

GifDecoder

Decode broken gif

https://github.com/DhyanB/Open-Imaging/

EncodingDetect

Determine encoding of text file

https://www.cnblogs.com/ChurchYim/p/8427373.html

Lindbloom

Color theory

https://icons8.com/icons/set/home

Free Icons

Icon

http://brucelindbloom.com/index.html

tess4j

OCR

https://github.com/nguyenq/tess4j

tesseract

OCR

https://github.com/tesseract-ocr/tesseract

barcode4j

Create barcodes

http://barcode4j.sourceforge.net

zxing

Create/Decode barcodes

https://github.com/zxing/zxing

flexmark-java

Convert Markdown

https://github.com/vsch/flexmark-java

commons-compress

archive/compress

https://commons.apache.org/proper/commons-compress

XZ for Java

archive/compress

https://tukaani.org/xz/java.html

ffmpeg

convert/create medias

http://ffmpeg.org

image4j

ico format

https://github.com/imcdonagh/image4j

AutoCommitCell

Submit updates

https://stackoverflow.com/questions/24694616(Ogmios)

GaoDe

Map

https://lbs.amap.com/api/javascript-api/summary

GaoDe

Coordinate

https://lbs.amap.com/api/webservice/guide/api/georegeo

WeiBo

Image materials

https://weibo.com/3876734080/InmB1aPiL?type=comment#_rnd1582211299665

poi

Microsoft Documents

https://poi.apache.org

LabeledBarChart

Javafx charts

https://stackoverflow.com/questions/34286062/how-to-clear-text-added-in-a-javafx-barchart/41494789#41494789 (Roland)

commons-csv

CSV

https://commons.apache.org/proper/commons-csv/

geonames

Location data

https://www.geonames.org/countries/

world-area

Location data

https://github.com/wizardcode/world-area

China National Bureau of Statistics

Data

http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/

JHU

COVID-19 data

https://github.com/CSSEGISandData/COVID-19

Website

Color data

https://tool.lanrentuku.com/color/china.html

Book

Materials

https://book.douban.com/subject/3894923/

National Geomatics Center of China

Map

http://lbs.tianditu.gov.cn/api/js4.0/guide.html

movebank

Location data

https://www.datarepository.movebank.org

CoordinateConverter

convert coordinates

https://www.jianshu.com/p/c39a2c72dc65?from=singlemessage

JavaMail

email

https://javaee.github.io/javamail/

Commons IO

File IO

https://commons.apache.org/proper/commons-io/

colorhexa

Color data

https://www.colorhexa.com/color-names

WQY

Font file

http://wenq.org/wqy2/

ttc2ttf

Extract ttf

https://github.com/fermi1981/TTC_TTF

Book

Materials

https://book.douban.com/subject/10465940/

sfds

Handwriting

https://sfzd.hwcha.com

PaginatedPdfTable

PDF

https://github.com/eduardohl/Paginated-PDFBox-Table-Sample

jsoup

html

https://jsoup.org/

ZhiHu

Materials

https://www.zhihu.com/question/41580677/answer/1300242801

commons-math

Calculation

https://commons.apache.org/proper/commons-math/index.html

JEXL

Calculation

https://commons.apache.org/proper/commons-jexl

OpenOffice

Document

http://www.openoffice.org/

nashorn

JavaScript

https://openjdk.org/projects/nashorn/

echarts-gl

WebGL

https://github.com/ecomfe/echarts-gl

RYB hues

art colors

https://blog.csdn.net/weixin_44938037/article/details/90599711

jsch

sftp

http://www.jcraft.com/jsch/

jackson

json

https://github.com/FasterXML/jackson

batik

SVG

https://xmlgraphics.apache.org/batik/

jankovicsandras

SVG

https://github.com/jankovicsandras/imagetracerjava

miguelemosreverte

SVG

https://github.com/miguelemosreverte/imagetracerjava































































6 Common Functions in Interfaces

6.1 Main Interface

Main interface is shown after MyBox is launched. Move mouse over one icon to pop its menu. Then select a tool to start.


















6.2 Interface Layout

  1. Window title includes the object name being handled.

  2. Main menu in top to open windows of functions.

  3. Some interfaces include pagination toolbar which is generally in bottom.

  4. Some interface include icon Fish. Hover mouse upon it to pop tips.

  5. Some interfaces include left pane or right pane. If icon Rosefinch is there, hover mouse upon it to hide/show the pane.

  6. To some buttons, checkbox, or icon, shortcut or tips will be popped when hover mouse upon them.














6.3 Set Font Size

  1. Decrease font size by press key "CTRL" and key "-" at same time.

  2. Increase font size by press key "CTRL" and key "=" at same time.

  3. Select one font size of 12px, 15px, and17px by click menu item directly.

  4. Set font size in Setting window.



6.4 Open New Stage

To open new window for new scene and keep current scene in current window, do not select menu item "Settings"-"Close current window when open new tool".




6.5 Restore Scene Size

By selecting menu item "Settings"-"Record size and location of windows", recent size and location of each stage will be saved and restored when it is opened again.























6.6 Recent Visited Files/Directories

When menu item "Settings"-"Pop recent visited files/directories" is selected, each access of files/directories will be record and list will be popped when mouse is moved upon the button of selection. Example:
























6.7 Data Table

  1. To select rows:

  1. To edit data:

  1. To display/hide columns, click button "+" in right side of table header.

This operation does not affect data.

  1. To adjust order of columns, click and drag column headers.

This operation does not affect data.

  1. - To order rows:

This operation only affect current data in table.

  1. Header texts of primary keys are in red and auto-increated keys are in orange.






























































6.8 Context Menu

  1. This menu is popped when right click object like text, image, or table.

  2. If interface includes button "Cloud", context menu will be popped when click this button.



6.9 Window "Examples"

Window "Examples" is popped when hover or click button "Examples".




















6.10 Window "Histories"

Hover or click button "Histories" to pop window "Histories".


























6.11 Color Block and Palette

  1. Hover color block to pop color's information.

  2. Click color block to pop window Palette, and select or edit colors.
















































7 Settings

Select "Settings..."in main menu to open window Settings.












7.1 Interface

  1. Language, font size, icon size

  2. Select hi-dpi icons(100x100) or common icons(40x40).

  3. Color of buttons can be customized.

  4. Whether restore last size of each scene.

  5. Whether open new stage to display scene.

  6. Whether show/Hide splitted panes when mouse passing.

  7. Whether pop stage "Set Color" when mouse passing.

  8. Font size, color, duration of popped messages.


















7.2 Base

  1. Maximum memory usage of JVM

  2. Network timeouts






7.3 Data

  1. Data path

  2. Derby driver mode and batch size.

  3. Whether pop recent visited files/directories. And the number.

  4. Whether close alarm clocks when exit program.








7.4 PDF

Maximum main memory of PDF handling.




7.5 Image

  1. Width and color of stroke and anchor. Whether anchors are solid.

  2. Color to replace Alpha when Alpha is not supported. (Suggest as White)

  3. Wdith of thumbnail

  4. Maximum width to display sampled images








7.6 Map

Data keys of map




















































8 Window

  1. Refresh/Reset/Full-screen/Top windows.

  2. Close other windows.

  3. Reboot MyBox.

  4. Recent visited tools.

  5. Snapshot of window/pane.
















9 Windows List

  1. Click "Windows List" in menu "Window" to open this interface.

  2. Display all of currently showing windows in MyBox.

  3. Select some windows, and click button "Close".

  4. Select some windows, and click button "Always on top".

  5. Select some windows, and click button "Disable always on top".


























10 Clear expired data

  1. Select "Clear Expired Data" in menu "Settings" to open this interface.

  2. Select data to be handled.

  3. While clearing expired data, do not read/write files/data by MyBox functions.

  4. Option to clear expired data automatically before exit.












<End of Document>

Page 1 / Total 32