Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "javafx"
Recently I tried to apply for a job and the company sent me a task to complete. It was on Java, write an app to sort input file with ability to choose a method and dislpay it. GUI with Swing or JavaFX. They said normally it will took 8-10 hours to complete it and they wanted to see, what I can do in 4hrs. So after 4 hrs I've done~75% and sent it and after 2 more I've sent the whole app with monkey-proof protection (validations, prompts, etc). So total of 6hrs. I've followed MVC structure and implemented OOP principles.
They liked it and this Thursday I'm having an interview 😊
Wish me good luck :D6
Due to popular demand (and we being unable to produce a smooth performance out of JavaFX), we decided to switch to Electron for devRantFX collab. It is now called devRantron!
Relevant collab: https://devrant.io/collabs/420025/
Under the hood we are using the following techs:
- React (ReactJS, Redux, React-Router)
- ES6 and Webpack
If you have knowledge about React-native or VueJS, you should be able to understand the code (eventually). If you want to contribute let me know! I will add you to our slack group :)12
So as most of you know I was inspired to create a Minesweeper that allows continuing after you hit a mine.
Not sure if such a version existed before but... if it doesn't now it does.
Sorry @linuxxx Windows only... don't feel like learning Electron ATM or JavaFX... honestly I just wanted the games to continue after hitting a mine.18
I'm freelancing and there was a guy who needed help with JavaFX. He gave me code only to his view class so I don't steal the rest... It was around 5k lines and it was full of compilation errors because of missing classes. While checking the code I realised something is really wrong with his model classes. So I asked maybe he could send me this one model class that was suspicious. So he did and it was around 10k lines long and had around 200 fields... ALL OF THEM FUCKING STRINGS except 3. You know what the rest of 3 were? 2 Lists of strings and a boolean... It was his "main" model class, he was using it for everything. It had setters for all fields and empty default constructor, so he would just instantiate the object and would set the fields that he wanted to use. Need new functionality? Just add 5more String fields and set them!2
Oracle really need to hire a new front-end web developer. Their site is not very beautiful, especially their JavaFX documentation sites.7
Soo.. I am half way done with Pre-Release 10!
However.. The update log is already as long as the full update log for the last update.. Which was twice as long as the log for the update before..
I'm Starting to notice a pattern.. XD
This is all good and well, but I feel as if I'm overworking myself. I'm getting stressed out, and I'm not spending near as much time with my girlfriend. 3: But, I'm having fun. I'm genuinely enjoying myself, and I'm making a ton of progress in such a short amount of time. I also have a new team member!
Idk.. I haven't done anything the past two days really. Work nor spending time with my girlfriend. I'm stressed, and I'm not sure what I should do. I'm sooper modivated to keep working, but I feel that my situation will only get worse.
Because I'm sure some of you will be interested ('cause my game is very popular in this community <3), here is the update list so-far. Do note that this is not the final list, and things will be added, and may be removed.
As you can see below, this update is mostly focussed around API's. Specifically Modding, and the new FileSystem. On top of this, I will *try* and tinker with the official Patreon API for Java and see if I can't intergrate that into my game. I'll also work on a ModManager, but I'm not sure if either of these will make it into this release. I also have plans for new Apps and Commands for this release, as well as working and polishing up existing Apps and Commands.
* Closing the game with X button (and other ways) now also calls preExitTasks()
+ Added AddonLoader. It's literally a Mod-Loader. (Your welcome :3) A tutorial coming soon, but just know that it's standard Java codeing and you simply need to drop the mod.jar into the game's addons/ directory.
++ Added "API" - This is a bunch of methods that are added for the Mods to use. These Methods likely wouldn't of been added othewise.
+ Added in-game FileSystems (Folder, files..)
++ Added FileNavigator API for traversing the in-game FileSystems
* Fixed a major bug with the "debug" command where you could no longer run any commands after enabling debug mode.
+ Added GameSave creation
+ Added System creation
+ New Save + localsystem are generated on startup
++ Added WindowBuilder API for creating Apps. This makes creating Apps much, much simpler, and is intended for not only us, but use in Mods.
* We re-wrote the Console Class from scratch, and turned it into an API for creating custom Terminal Apps. (Commands are now created using the Command Class and are then passed to Console and registered as either a Local or Global command)
++ Added Command API for creating commands. These commands execute Java code, much like a JavaFX Button would, on each call. You also get everything after the first [space] of the command that was passed, as a String.
* Re-wrote ALL previously implimented Apps.
* Re-wrote ALL previously implimented Commands.
+ Added "debugtest" command to test debug mode. (This just prints a totally boring random message, and you shouldn't try it.) [Note: This "command will not exist" when debug mode is false.]
+ Added "cd" command. ("cd ~" "cd .." "cd /home/folder" "cd etc" "cd /")
+ Added "cat" command. ("cat file" "cat /folder/file")
+ Added "mkdir" command.
+ Added "rm" command.
+ Added "dir" command.
If you're new and you have no clue what I'm talking about, here's the info page: https://trello.com/b/0bH2SjQf2
Got to know about OSMC/Kodi last week. Took out my Raspberry Pi. Setup OSMC over the weekend, did all the cable setup for 4 external hard drives and connected to TV via HDMI. After few configurations, I'm all setup. I'm astonished by all the features it provides. Fetching data from TMDb (I had actually created a javaFX app to do this for my local library just last month), remote control from Android as well Web Browser. Enabled UPnP and now I have my complete media center floating around my house network. It is one of the best open source project I have laid my eyes upon. Wish I could attach more pics.6
Hey guys! We have started working on the cross platform desktop app for devRant for a while.
Here's the Collab link: https://devrant.io/collabs/420025/
Here's the GitHub link: https://github.com/tahnik/devRantFX
Here's more information about what we are using for developing the project:
1. Java 8
3. IntelliJ IDEA
6. Travis CI
7. JavaRant API (created by LucaScorpion)
Right now we have 4 collaborators: allanx2000, sirwindfield, LucaScorpion and me.
If you are interested in the project, you can always let me know and I will do something about it.5
So my college is writing a desktop app (usually my domain), and he doesn't want to do internationalisation because of time constraints. HARD CODED STRINGS EVERYWHERE!12
I know this really isn't the place for this, but I REALLY need help..
I need to add app scaling inside my game.
To do this, I need to listen for a MouseDragEvent (or similar) on a JavaFX object like a Label or Image.
Here is my SO post:
Thanks in advance!22
I FUCKING HATE JAVA
Wee need to do a schoolproject with JavaFX and TableViews. The editing of the tables works grate and is also displayed after commiting. But wen i take the data from the TableViews there is still the old one...10
A girl I know is a Economics major with a minor in CS. Today she told me and a friend how hard their Java course is. I asked her about the topics that get covered in that course and when I asked her about JavaFX.
"No we will not cover JavaFX, only Java an GUI programmig in it. "
Today I learned that JavaFX is not a part of Java :D2
"Bu...bu..but JAVA SWING and FX are PORTABLE!"
And electrolytes are what plants crave.
I swear half the people I argue with are dinks.
IF YOU HAVE PEOPLE YOU ARE RESPONSIBLE FOR YOU HAVE TO DO WORK PEOPLE WILL HIRE YOU FOR.
Under job listings for javafx: 2 listings within 200 miles of me.
Under job listings for C#/WPF: dozens and dozens of jobs.
Portability doesn't matter if you're broke.
My stomach owes no allegiance to "high fallutin" concepts such as openness, avoiding vendor lock in, or the high ideals of platform independence.
I'll take the microsoft gulag if it pays my bills.
I don't know whats so hard to grasp about this. Some people are completely divorced from reality.
Edit: Hello to all my peeps who I haven't talked with in a while. I hope everything is going swimmingly in your lives. May your beer forever be paid for by your employer and your code bug free!7
My favourite dev tool? I would't be able to do my work without any tool, which's in the list. I love IntelliJ IDEA & Webstorm, Java, JavaFX, Maven, Git & Gitlab, TeamCity, Upsource, YouTrack, Artifactory, wtf that list's kinda the complete tech stack. But I completly hate AWT & Swing (AWT fucks up on my Linux install, such a frame creates in about 10-20 seconds, if you test the app locally, you loose approximately 15 seconds per minute, and Swing uses AWT internally too), I hate Gradle (screw Google for standardizing it), and so on. Wow that's like my complete tech stack, what the fuck happend? The question was one tool, help me.1
I kinda hate how I'm forced to learn java swing when the same professor taught javafx last year... (ﾉಥ益ಥ）ﾉ ┻━┻4
Hi guys, I got some questions for you:
I'm a 17 years old guy from south Italy with 5 years of programming experience, mainly with Java and Kotlin. Since finding a well paid job here is soooo hard (especially when it comes to IT), I will surely go to another country (England, Sweden, Denmark and Norway in my list) once I get my scientific high school diploma. Here are the questions:
1) I have very high skills on JavaFX, both front-end and back-end. Is JavaFX commonly used in companies? Or should I move to other technologies like Android?
2) Will my diploma (plus a good amount of open source projects) be enough to find a job?
3) What certified English level is commonly required in these countries?5
Oracle, please get your crap together.
If you really wanted to make an amazing replacement for Java swing, you could have made the scene builder application for javafx not crash every 15 minutes on macOS. Seriously. I can't go more than a half hour without it freezing up and/or having the window disappear, never to open again. I get that it's a complicated program, but it's 10 YEARS OLD. It should have been stable by now.4
Java 11 is amazing they said, Jigsaw will make things much easier they said, JavaFX is now just a simple Maven dependency they said...
Previous command to launch app in Java 8:
java -jar T10ReleaseFinal.jar
New command to launch app (not including the custom jlink command to produce the custom bundled JRE) in Java 11:
java --module-path "lib/javafx-fxml-11.0.1-win.jar;lib/javafx-web-11.0.1-win.jar;lib/javafx-controls-11.0.1-win.jar;lib/javafx-controls-11.0.1.jar;lib/javafx-media-11.0.1-win.jar;lib/javafx-media-11.0.1.jar;lib/javafx-swing-11.0.1-win.jar;lib/javafx-graphics-11.0.1-win.jar;lib/javafx-graphics-11.0.1.jar;lib/javafx-base-11.0.1-win.jar;lib/javafx-base-11.0.1.jar" -Dfile.encoding=UTF-8 -Dprism.dirtyopts=false -Dglass.accessible.force=false --add-modules javafx.base --add-modules javafx.controls --add-modules javafx.fxml --add-modules javafx.graphics --add-modules javafx.media --add-modules javafx.swing --add-exports javafx.graphics/com.sun.javafx.sg.prism=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.scene=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.util=ALL-UNNAMED --add-exports javafx.base/com.sun.javafx.logging=ALL-UNNAMED --add-exports javafx.graphics/com.sun.prism=ALL-UNNAMED --add-exports javafx.graphics/com.sun.glass.ui=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.geom.transform=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.tk=ALL-UNNAMED --add-exports javafx.graphics/com.sun.glass.utils=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.font=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.application=ALL-UNNAMED --add-exports javafx.controls/com.sun.javafx.scene.control=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.scene.input=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.geom=ALL-UNNAMED --add-exports javafx.graphics/com.sun.prism.paint=ALL-UNNAMED --add-exports javafx.graphics/com.sun.scenario.effect=ALL-UNNAMED --add-exports javafx.graphics/com.sun.javafx.text=ALL-UNNAMED --add-exports javafx.media/com.sun.media.jfxmedia.events=ALL-UNNAMED -jar T10ReleaseFinal.jar5
I hate making GUI stuff. Can't people use console instead of GUI as good old times? I've made the whole program for console in Java. Was using it for myself but now I'm thinking of selling it but I have to make a GUI for it first but learning JavaFX is so hella boring.4
Me: yeah I am a full stack node.js web developer
Client: so can u do javaFx
Me: that's not really what ur hiring me for :/1
Any Java (JavaFX) developers interested in tutoring me, or helping with my open source project?
Preferably over Telegram, but could be over Twitter or Email.11
F*ck JavaFX. I mean, how a GUI framework doesn't have a standart navigation procedure? It is not even possible to create a page by constructor. In many other framework when I wanted to pass a data to a page, I just had to write
"new MyPage(SomeClass someObject)"
but in javafx I have to first create a constructor, link the fxml file to it then show the page.
Actually I am not angry. It is a big mistake to wait a good GUI framework from a company that has a website something like that in 2018.1
Who The fuck created Javafx it too damn dumb and stupid there's hundreds of lignes of code to wrote to do a simple event on a table cell 😑😑😑😑😑😡😡😡
I miss Swift 😭😭😭12
I'm currently doing project in Java using JavaFX for GUI and after like 6 months I found out we can bind textfields to variables(yea,dumb me) and I got more than 20 forms so of course, binding is useful than that getText method. So I think there are many things like this which will help me to optimize my code but I dont know, so can anyone tell me more stuff like this?
I'm using MongoDb so I'm currently finding easiest way to make Bson document from textfield values. Any suggestions?
(Sorry, for my bad English)1
Guy told me Java Swing is more stable and has more effective look than JavaFx. Okay mate, I'm sure. 😒
Background: I'm doing a migration from FileMaker to JavaFX
My PM asked me what was going to be the main page of the system and he gave me an ugly option, to which I answered with a dashboard example, so now he wants me to change everything so that our app looks like the one I showed him
Writing something akin to JavaFX or WPF to use with Rust.
A fairly easy to use XML-oriented system for writing run of the mill GUI apps for the desktop
Question for you desktop guys. I was thinking of making a desktop app with a GUI as a side project. It's mostly going to be business-like CRUD, no fancy stuff. I was thinking of using electron (since I'm a web developer) but I read that it's slow and bloated. On the other hand I would like learning something new. I don't want to spend too much time on the GUI so I would prefer a framework/language that already has some nice open source gui packs available. I have only ever used JavaFX before for a tutorial, is that a good choice? Also, I would like it to work on both linux and windows.11
Another reason to hate Java
It seems that Java is immune to OR 1=1, because of course, 1.0 is not the same as 1.0;4
Since I started messing around with front end (JavaFX and css), the expression "code works and I don't know why" just gained a whole new level.. I have no idea how did those boxes aligned..2
Soooo I am an apprentice who just started his third year. Everybody in my team (3 ppl) left for better jobs.
I am now basically front and backend lead, teaching four new employees our restapi, web and javafx frontend.
At the same time I fix errors happening in production and develop new features.
I guess there are many great rants to come, so stay tuned :D
Going to write about things like tests that got disabled months ago after migrating to gradle, no documentation, finding out how to set up new development workstations with an outdated script missing important steps, management, print debugging in production and much more :)
Oh and it is not that bad, I learned more in the last month than in the two years before. (not saying my team was bad)1
So I ended up going with antergos and xfce DE on a cheapo 4gb ram i5 laptop.
It works, sometimes it hangs because of ram, but the thing that is infurating me the most is javaFX with animation loop (school course) whenever I run it, it works for a minute then oh good fucking Lord what happened to you!!!
It hangs, mouse doesn't work, and it takes like 10 minutes for it to respond back and somehow forcefully close the application, running that with task manager asude, I don't see anything critical, unless I'm reading this wrong
CPU averages around 10% and sometimes spikes to 70% few times
Ram is around 50%, swap is 50% too
What could the issue be in this case? I'm sure running the whole thing on windows this wouldn't have happened, what am I missing here?3
Hello everyone, I would like to create a native desktop application on Linux, which language/gui framework would you suggest to me, knowing that I have been working as a Web developer all my life?
I tried Javafx, but I don't like that very much, is really confusing and requires a lot of boilerplate, I use to work with visual studio, so a drag and drop visual editor to create a gui, that was easy.
I tried electron, but I don't really like it.
The main problem I am facing is adapt a pattern like mvc to desktop app, and share data between scene.
I would love to use flux pattern.
Any tutorial suggestions?8
Javafx is annoying as fuck.
I still don't know how to add a scrollbar to a vertical box. Why can't it be like visual studio? Just drag and drop.3
Learning golang to replace Java in my arsenal, I just wish they had a nice framework for creating guis similar to JavaFX
I know bindings exist to things like qt and GTK but why cant they have a nice native ui library.1
My school makes us use AWT instead of JavaFX so let me just express how much of a pain in the ass it is to do assignments on my 4k laptop
TLDR: A friend had only a local repository and fucked it up completly
A friend of mine had to do an project for school. Sche decided to do a little chat application. The requirements were to use java in combination of javafx.
Things started very well. Sometimes she asked me for a little help but that was no problem. She used mercurial for version control which was an inportant requirement too. But. The teacher didn't teach them how to use mercurial so all she had was a local repository. A few days ago she called me and told me that she fucked up the repository. I told her she should cerp calm and wait until i am at home. It's a fucking repository. this can be fixed i thought. But when i arrived at home and she sent me the repo i tried everything but a file (stored at .hg/store/) was missing. it was a manifest file. I asked her what happened to this file. "I deleted it because there were error messages because of it" FML. Why would you even delete such a file?
Luckily for her she sent me a copy of her repo to look at it a few days ago. so she only lost 5 commits.1
Was looking at freelancer today (the website) and saw a post with the tag Java javafx and js... It was a WordPress request...
Java and groovy work really well for desktop applications. With javafx and groovy for scripting it is a very nice combination.4
My patience for making guis has completely died, and it's making my open source work... fustrating. Tried QT, tried GTK+, tried swing, and JavaFX. Can't tell if I just suck at it or I'm on to something.
Everything is shit and I have to work drive thru till 11.15pm.
Everything appears to require js at one point or another (though kotlin requires groovy which, in the intellij IDE, the template it COMES with is fucking broken from the start)
Java seems like an option, lots of jobs available, but I need netbeans for desktop (javafx) and Android Studio
separately in order to do anything. And Android Studio now uses, of all things...FUCKING GROOVY.
*cocks gunfinger and points in mouth*
why must every fucking thing be it's own DSL and make everything about the fucking ceremony of configuration over
Haven't any of these fucking cocksuckers heard of MAKE? Or do they just masturbate over how intelligent and smart they are for having reinvented the god damn WHEEL?
I'll see you at the drive through. Will that be all for today?9
I made a GUI with Java swing and halfway through I regret not using JavaFX. 😑 or maybe I should learn QT...10
I need advice!
I have a project idea that involves creating a cross platform gui but I cannot decide on a framework.
I have been toying with the idea of electron(ugh please no), c++ with either gtk+ or qt, Java with JavaFx.
I really want to be be able to create binaries for Mac windows and Linux while keeping bundlesize low and efficiency high. With this in mind I am leaning towards a c++ implementation but qt (which seems to be the best option for this route) has an insane learning curve. Is there something I am not thinking of that would satisfy these requirements?10
I don't know why started some projects but i didn't finish them and i give up continuing on them
Why do I fail
How have the same problem hhhh
Got bored and tired of making my program at JavaFX, decided to change to new programming language with new GUI framework. Chose Ruby and after a bit of research the easiest GUI framework is Shoes. Started making program but ugh. When I run the program, to clicked a link on it you have to locate mouse 10px top of that link. Weird af. Now I'm installing the ruby on my windows machine, hoping there was something wrong with shoes on Linux. Fml2
I tend to overengineer. Why? Because I had a view in JavaFX with its controller that had a bunch of key listeners which changed the UI. I wanted to change the view based on wifi connection/no connection with a server, which was managed in a Client class. The controller took the client to give it a message that client then had to send. For "separation of concerns" I created a separate view + controller for the "not connected" state.
Now the Client knew all about the connection, so I put up the Observer pattern and wanted the Main (Application) class to swap the layouts as an Observer of the Client. After an Exception on FX thread and Platform.runLater(), to solve the issue, I faced a new problem: the key presses weren't executed anymore. I still don't know why this happens. Maybe I'm missing something.🤷
Then met with one of my group partners (it's a uni project):
Let's attach the Observer to the original controller. Have only the original view that changes due to the controller updates as Observer. Let's see if that might even remotely work...🤔
A colleague of mine were bashing all day long about which JavaFX scene builder is the best. Let's settle this what do you think?1
it close to a long time holiday ,and i have enough time to get the basic topic about javafx,then make a small app😊1
Is there a way to run a Java app with a specific version even if I have several installed?
For example: I have 8_151 for development, but on the client side they use _181. (I don't use it because it causes problem with JavaFX components). So I want to make my app to run specifically over _151 even if the client have another newer version installed.5
So you know those movies where the girl fells in love with the bad gay(kidnapper, thief...) and she doesn’t want to be saved.
Same relationship with me and JavaFX.1
Had a lecturer that taught a module on OOP where the entire module was spent teaching how to code on Java while the concept of OOP was just skimmed through at the end of the module. Okay, fine, it's just supposed to introduce OOP, maybe the continuation will go into detail.
The next semester we had the continuation module titled OOP with Java. Entire module was about Javafx. So two semesters later and everyone in the class barely understood things such as polymorphism or abstraction.
Question for java masters, can you please show me the java mastering degrees
Example : Java, Java Gui, Java Jdbc .....
Has anyone else lost all compatibility with Netbeans 10 and javafx on linux? I can't for the life of me get any packages to work together to fix the problem. Even installing "Netbeans8" and jdk8 and openjfx8 doesn't fix the problem.2
Hi,I want to provide a button when clicked txt file should be uploaded to cloud account.I want to do it using Java and JavaFX. UI Is easy but how to use GOOGLE DRIVE API? No complete code is given on internet.I don't know how to start from scratch.I am making a software where i need this function to link users drive account to it. Help appreciated :) .(official site of Google api is not useful)2
I love linux because i dont have to forced to do frickin update like windows did.
Because i have an experience after update linux mint i cant even start the main GUI program. After boot only show blank console. It seem linux update broke the compatibility between my graphics card.
At least now i dont have to update because thats an option. The output of update is not different than windows.there is a chance you broke your OS.
But the struggle is when i need to install new app in linux. Sometimes need more than hour to find out why it doesnt work from the first time.
Any help here?
So this start from the office. In the office i usually use low spec laptop that work slowly. Then i found this IDE called rapidclipse. Its very promising with GUI builder and can build cross platform mobile app using only java built on top vaadin framework.
When i use it on low spec laptop hackintosh at office it work well although it take more time than other kind of eclipse and i dont need to install any kind of app again, just download-install-create new project-run on tomcat-work well.
Then i go to home to try this new tool , IMO my low spec PC still have more power to run something than old hackintosh. Because usually i use android studio with no problem. In the old hackintosh it went too long to build gradle only.
Then i install rapidclipse, then run desktop shortcut. Then it said i need to install correct java to use correct JavaFX.
After search on SO they said i must install jdk from oracle.
Ok so i got openjdk in my linux.wtf what is the different idk but dont have time to find out.
I install jdk from oracle.
Than finally can open the rapidclipse.
Wow , this gonna be fun.
Then create new project. Just a new project.
So im waiting. I see the progress at 10%. But still no increment on that.
I switch to other app for several minutes.
Then when switched back th app still at 10% and now is at no responding state. So i force close.
After that open rapidclipse again.
The previous new project can be opened. Yay, i think.
But so many error there. Omg.
So i create new project again.
But, but, i just repeated the first error then close again then try it again for several time. But still same output.
After an hour, i give up.
But still, why , just why it work like this. No error or whatsoever.
Back later i have a problem like this on different app.
This is not exactly a rant but would one implement a wsiwyg html editor in javafx with drag and drop?4
Is there any experience person,(or alien truly don't care the specie), that helps me with a little project that I have (personal). It is a java project, using hibernate and javafx... I'm stuck since 2 ago...
I believe that the answer to all my problems lies in the wubbs of chillstep.
It's the only thing that helps me debug.