Skip to content

Simple GUI table to view CSV/TSV files. Written with Java Swing. Powershell's Out-GridView alternative, cross-platform.

Notifications You must be signed in to change notification settings

Podbrushkin/tableview-swing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Simple GUI table to view CSV/TSV data. Written with Java Swing. Powershell's Out-GridView alternative, cross-platform.

gif usage pwsh function

Usage of java app:

# Run java file without creating .class or .jar:
java ./CSVTableViewer.java

# Or, create a jar and run it (faster startup), with increased scaling:
javac ./CSVTableViewer.java
jar --create --main-class CSVTableViewer --file tableview-swing.jar *.class
java '-Dsun.java2d.uiScale=2' -jar ./tableview-swing.jar --dark-mode

# Delete .class files
rm *.class

Usage of Powershell function:

. ./Out-GridViewJava.ps1
Get-ChildItem | Out-GridViewJava -PassThru
--in <path>                # Path to file or '-' to read from stdin.
--delimiter <regex>        # Cell delimiter, default: ','.
--row-delimiter <regex>    # Row delimiter, default: '\r?\n' (EOL).
--column-types <arr>       # Types of columns, e.g.: 'string,number,url'. Default: all string.
--dark-mode                # Use dark mode.
--look-and-feel <name>     # Use this Swing look and feel, run with any value to print all available.
--pass-thru                # Show Ok button, when pressed - prints sequence numbers of selected rows and exits.
--help                     # Print this message and exit.

About

Simple GUI table to view CSV/TSV files. Written with Java Swing. Powershell's Out-GridView alternative, cross-platform.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published