Java Web Viewer is a lightweight Java app that lets you embed a local HTML file or a web URL inside a Java-based window. It includes configurable options that can be easily set via command-line arguments or scripts, making it flexible for tasks like kiosk displays or simple web app distribution.
Repo rmellis/JavaWebViewer, read from GitHub 13 min ago. rmellis has not joined Take My Repo.
These new flags have been added with a hybrid approach, meaning any old configs using the old syntax will still function, they can also be phased as a mix
This update will allow setting a variable indexed deeper e.g. level 9 without having to set the 8 variables before it by specifying it directly with the --key=value approach
viewer.jar index.htm "My App" 1200 800 false false true center center icon.png
viewer.jar index.htm --title="Dashboard" --fullscreen --icon=kiosk.png
viewer.jar index.htm "App" --width=1000 --height=700 --resizable=false --icon=app.png
viewer.jar --url=dashboard.html --title="Kiosk" --fullscreen --icon=kiosk.png
viewer.jar index.htm --url=dashboard.html --icon=logo.png
🚀 LocalViewer Configuration:
📄 URL: index.htm
🏷️ Title: Java WebApp
📐 Size: auto x auto
🔧 Flags: fullscreen=false, maximized=false
🖼️ Loading icon: icon.png
✅ Icon loaded successfully (64x64)
🎯 Window centered
✨ Viewer ready! Press Ctrl+C to exit.
✅ Fixed filename loading (auto redirect index.htm → file:///)
✅ Fixed argument indexing (icon at index 9 was looking for 10th variable)
✅ Safe parsing (no more crashes)
✅ Added some basic debug details to console e.g. if an icon was loaded successfully
✅ Added App Icon as a template (icon.png)
✅ Icons can now be assigned (local PNG/ICO files or auto for favicon)
✅ Added missing repo link to index template
✅ Changed template highlight color to purple (it looks nice)
This is the first uploaded release of Java Web Viewer
Simply download the .zip, Extract and edit as needed