lipido / javafxwebview Goto Github PK
View Code? Open in Web Editor NEWA demonstration of how to create Java desktop applications with AngularJS and Bootstrap
License: Apache License 2.0
A demonstration of how to create Java desktop applications with AngularJS and Bootstrap
License: Apache License 2.0
I cloned your repo and followed your steps for packaging it as a jar. For some odd reason non of the resources seem to get rendered and therefor the angular, css and js doesnt work.
I have been able to make it working using this:
cd javafxwebview mvn package cd target java -cp classes;dependency-jars\json-simple-1.1.1.jar es.uvigo.ei.sing.webviewdemo.WebViewDemo
but ideally dont want to do this as i want to distribute this as a native application using the javafx packager.
Running the application under netbeans without being packaged as a jar it runs perfectly fine, please advise.
OS: Ubuntu 16.04 LTS
Java:
openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-0ubuntu0.16.04.2-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)
javac 1.8.0_151
Hi,
have done some minor changes to the app and found an issue while clicking through.
added a droplist to display the list of fruits you have generated.
e.g.
<select ng-model="fName" class="form-control"
ng-options="fruit.name as fruit.name for fruit in fruits"></select>
after selecting different fruits from the droplist suddenly all fields went blank
the number of selection before all fields going blank is random, however it always happens.
anything i am missing from the guide?
Am running it in windows just by double clicking the jar file.
Thanks.
Hi,
Thank you so much for posting this project. I am learning JavaScript and trying to figure out options to create a desktop application with Java Backend and Electron or Angular in the front end. I came up to your repo through a reddit post and I think its a great way to start.
Can you please let me know if you have any step by step procedures which I can follow to learn more about the development of this project? I really appreciate your help.
Best,
Shreyam
Hi
thank you for your project , how can i use ngRoute in this project, for example i have a page and i want
switch to another page, i can use my controller , i wrote below code for access ng route but i could not.
var approute = angular.module("myApp", ["ngRoute"]);
approute.config(function($routeProvider) {
alert('$routeProvider');
$routeProvider
.when("/", {
templateUrl : "index.html"
})
.when("/red", {
templateUrl : "red.html"
})
.when("/green", {
templateUrl : "green.html"
})
.when("/blue", {
templateUrl : "blue.html"
});
});
please guidance me for using route in this project.
Best Regards
Hi. Can i use Angular 2 or Angular 4 ?
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.