bekwam / k4stem Goto Github PK
View Code? Open in Web Editor NEWKotlin for STEM - Science, Technology, Engineering, and Mathematics
License: Apache License 2.0
Kotlin for STEM - Science, Technology, Engineering, and Mathematics
License: Apache License 2.0
Apply the theme to error and information dialogs
Using Klaxon, serialize and deserialize the files to/from the domain objects
On the data entry page, only Name and Type are required. If either is missing, notify the user when the user presses save.
The optional fields should not hold up the saving. It's ok to put in default values of 0 in places for now.
In the OhmsTest file, add functions for power
Add unit tests to OhmsTest test case
The menu item won't exit if the dirtyFlag is not set. You have to use the window exit 'X'.
Double-clicking to bring up the editable form needs to save
Got this in the JSON file
"ObjectProperty [value: Lab(version=1, labName=MDLab, labOwner=Carl, inventory=[net.bekwam.k4stem.labassist.Inventory@6f32bc82])]"
Add an HBox containing a ProgressBar and a Label. These will be bound to Task properties supporting the Tasks for the load and store operations.
The load method should handle both the success and failure causes. This means implementing the ui and the fail functions.
fun load() { // and store()
runAsync {
updateMessage("loading components")
updateProgress(4.0, 1.0)
loadComponents()
} ui {
updateJavaFXProperties()
} fail {
// show dialog
}
Use the TornadoFX app.properties Config Properties mechanism to store a list in a file. This file will be at a known location for now (the default) but may move to a .lab-assistant folder in the users home that is created when the app starts if not found.
Handle the error
Some of the .kt files have spaces in the filenames. Replace these with camel-case or underscore.
See MenuView
Selecting Close leaves rows in the TableView
After a new project is started, Save does not prompt for a file name and location but saves to a temp file that the user doesn't know about
Put in a larger font and more generous whitespace padding within the cell
Use TypeSafe CSS
For any number-oriented fields, use filterInput to restrict the input
Bring up a dialog that displays the app.properties and saving the settings in this newly-created panel will save to the properties
The first -- and only for now -- property should be "Open Last Saved Project on Startup". If set, this property will prompt the app to look for a file and open it automatically. This file location will also be an app.properties.
These should work as with any application. The clipboard pulls and puts values into the various TextFields in the details form.
Don't require the user to hit the Refresh button
The code is in the default package but should be in net.bekwam.k4stem.calculator
Implement the initial main window, menuing system, and file handling
Files created from Save As on Linux don't have the .json suffix saved
(Works on Windows)
The TableView doesn't retain the selection so it's not clear which of many items are about to be deleted by the time you get the mouse to the - button
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.