-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add sql support * Add better styling * Bug fixes * Refactoring
- Loading branch information
Showing
99 changed files
with
2,972 additions
and
1,378 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.erikmafo.btviewer; | ||
|
||
import com.erikmafo.btviewer.services.ServicesModule; | ||
import com.google.inject.Guice; | ||
import com.google.inject.Injector; | ||
import javafx.fxml.FXMLLoader; | ||
|
||
import java.io.IOException; | ||
|
||
public class FXMLLoaderUtil { | ||
public static void loadFxml(String fxmlFile, Object controller) { | ||
var loader = new FXMLLoader(controller.getClass().getResource(fxmlFile)); | ||
loader.setRoot(controller); | ||
loader.setController(controller); | ||
try { | ||
loader.load(); | ||
} catch (IOException e) { | ||
throw new RuntimeException("Could not load fxml file: " + fxmlFile, e); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
164 changes: 0 additions & 164 deletions
164
src/main/java/com/erikmafo/btviewer/components/BigtableTableView.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.