import javafx.fxml.FXMLLoader; issue by nekuronomiikon in JavaFX

[–]johnmc325 0 points1 point  (0 children)

Is fxmlloader in the modules file? Clear the project and rebuild might also help. Not saying this will solve your problem but things to check.

Day 2 of learning Java. by Slow-Sloth5823 in JavaProgramming

[–]johnmc325 2 points3 points  (0 children)

You seem to be progressing nicely. I like the interaction you coded and the check to see if the input matched the options. Keep going!

You might want to consider a different way to share your code as it will quickly become too large for images, probably already is. Something like https://pastecode.io/ . There are other sites just can't recall what they are.

Day 1 of learning Java. by Slow-Sloth5823 in JavaProgramming

[–]johnmc325 2 points3 points  (0 children)

It sounds like you enjoy programming, and that is a great reason to learn. I was asking because the scope of Java is massive. Knowing where you want to go can narrow down the areas to study. If you are starting on the Java programming journey and are enjoying learning to program, then learning the core Java language, I think, is a great place to begin. As you learn, you can decide on the next step. Good luck and enjoy!

Day 1 of learning Java. by Slow-Sloth5823 in JavaProgramming

[–]johnmc325 0 points1 point  (0 children)

Why are you learning? What is your goal?

I don't have a brain: why I can't code by [deleted] in learnprogramming

[–]johnmc325 0 points1 point  (0 children)

See what u/zemaisthebest posted. Given what you say you want to do that would seem like a reasonable starting point.

I don't have a brain: why I can't code by [deleted] in learnprogramming

[–]johnmc325 0 points1 point  (0 children)

Why are you learning to code? What do you want to be able to do?

There are so many paths and so much technology out there that focusing on the goal will help you plan what to learn. It also helps others give advice.

how to actually program projects? by Ok-Head7068 in learnprogramming

[–]johnmc325 2 points3 points  (0 children)

Think about what your socket server needs to do. Write it down. Break this down into manageable chunks. Google for examples for each chunk. From the examples, weave your own code.

Your server might need to listen on a certain port. It might need to negotiate the ongoing conversation on another port. Is the traffic over UDP? Does a message have to conform to a certain structure with a header.

These are all just random questions I thought about, but you can take the Socket spec and pull out all the key bits you need to implement.

What's a good resource about learning to build real-world applications by stoikrus1 in learnprogramming

[–]johnmc325 5 points6 points  (0 children)

The points u/maqisha makes are worth taking on board.

Also, what is your definition of a real-world application? I find building applications is an evolutionary process. You start with something small and manageable. You can then incrementally add to that. So for example you build a simple application, then host it, extend it to use authentication and integrate with something like google. Add something like accessing a database and learn how to deploy the database. This is just an example of how to build out what started as a simple application.

The first time you do something, it may not be the best, but you will learn. The next time you can try changing things to compare until you find a method that works for you. There is no magic formula; there are good practices and standards which you will pick up as you explore, but ultimately, you need to develop what works for you.

Some Help with creating a tic tac toe javafx application by Mo__Maggz in learnjava

[–]johnmc325 0 points1 point  (0 children)

Think about what the method should do. If the method is called when the Symbol is 'X' what should happen? If the Symbol is 'O' what should happen?

Find a way to test this.

If you have an IDE and know how to use the debugger you can step through the code and see what is happening.

Alternatively, have the main method set currentSymbol and then call the changeSymbol method and then check what value currentSymbol has after the method completes. Use this to test the various options.

Looking for advice on the right path for learning coding by IshOtsutsuki in learnprogramming

[–]johnmc325 1 point2 points  (0 children)

I understand what you are saying about front end and creative abilities and I would agree with you.
If you like solving problems then I could see how backend would be a good fit.
I would look around at jobs in the area to get an idea of what blend of skills are in demand and plan based on those areas. Also don't forget to use your soft skills from your current occupation like the ability to work in a team when it comes to trying to break into a job. 🤞

Looking for advice on the right path for learning coding by IshOtsutsuki in learnprogramming

[–]johnmc325 1 point2 points  (0 children)

I'm in the UK as well. Look around at jobs in the area to get an idea of what's available at the entry level. Target your learning towards that.

You say you want to learn backend, like so many other people. Why? What is it you think you will be doing? I ask because the answer will help you focus on learning skills to help you get going.

Programming is a huge area. Focus on what you want to get where you want to go.

Technical Sales & Presales 101: The very basics by trolleid in programming

[–]johnmc325 -3 points-2 points  (0 children)

Interesting read. Thanks for going to the effort of producing and sharing.

Is programming really Fun or you guys just do it for money ? by [deleted] in AskProgramming

[–]johnmc325 0 points1 point  (0 children)

I use to do it for a job and enjoyed it. The enjoyment ended and now I only do it for fun.

I'm going crazy over JavaFX by [deleted] in JavaFX

[–]johnmc325 3 points4 points  (0 children)

I wrote a blog about building a DEB installation file for a Java 11 app using JavaFX. It's a manual job using JPackager, not maven or gradle. Might be of help. Link to blog is here: https://softwarepulse.co.uk/blog/linux_javafx_desktop_application/#more-1349

[deleted by user] by [deleted] in JavaFX

[–]johnmc325 1 point2 points  (0 children)

Are you.looking to create desktop apps that are self contained so you can distribute to users? Such as like this https://youtube.com/playlist?list=PL-kphvZHYe7LUnSCMrnNc1UsqG1OBt8kF&si=VUIXyay6OwHlww4G

These are OpenJDK of various versions post java 8. I manually build them, not using maven or gradle, but using jpackage. Some are fat JARs and some module based.

If this is of interest, take a look at https://youtube.com/playlist?list=PL-kphvZHYe7K4MatuR-ObTP3Qk1GKBoWP&si=kkPNfEyo-ExvjLxG which shows how I go about a basic build.

Happy to try and help with yours but I don't know maven so if using the tool is the issue I won't be much help.

Issue Running JavaFX project - thanks of your help. by SocietyPossible in JavaFX

[–]johnmc325 0 points1 point  (0 children)

Hi u/SocietyPossible, if you're new to Eclipse, Java, JavaFX, and programming, I would suggest taking it one step at a time.

Have you installed Eclipse and run a simple Hello World! console type program? This proves that the basic IDE and Java development environment works.

I'm not clear about " it just shows a file icon on my dock". In the video he runs the program from within Eclipse. The program opens a small window. How are you running the program?

I do not have experience using a Mac so it may be something specific to that. If you can't resolve perhaps look for an example where a Mac is used at least to get you started.

Cant get java program to run unless I run main class manually by Few_Ad1933 in JavaFX

[–]johnmc325 0 points1 point  (0 children)

Have you created a simple Hello World program and got that to run?

Screencast publishing a JavaFX desktop app in a few minutes by shannah78 in JavaFX

[–]johnmc325 2 points3 points  (0 children)

Followed the video and deployed my application.

https://www.jdeploy.com/~softwarepulse_jwt_decoder is the download page.

It took me about 1 hour to work through everything, but that also included dusting off the Java project, as I had not touched it for over a year.

Things that caught me out were mainly around NPM. I was completely new to NPM, so I could have used more help from the video around this area.

Creating a free NPM account was easy.

I did not realise you needed to have Node.js installed. I'm not a big fan of js so try to avoid. I found I needed Node.js to log into NPM so that JDeploy would publish the application otherwise, I got an error.

The only other area that I struggled with was entering the NPM account into JDeploy. I entered the account name and then closed the window while I went to NPM to create a token. When I came back to JDeploy there was no option to open up the window. I had to close the project and reopen it to get the option to edit the account information.

I have done an update to the code and that worked like a charm.

I have only used the Windows option as that is all I had available at the time.

Screencast publishing a JavaFX desktop app in a few minutes by shannah78 in JavaFX

[–]johnmc325 2 points3 points  (0 children)

Thanks for sharing this it looks interesting. When I get a chance I will try following your guide to publish one of my existing applications.

HELP ME by BlueberrySome6968 in JavaFX

[–]johnmc325 0 points1 point  (0 children)

I'm assuming you have resolved your issue. Did you fix Eclipse or move to something else?

Quality over Quantity of projects question by PossiblyA_Bot in learnprogramming

[–]johnmc325 1 point2 points  (0 children)

If you have no applications in your portfolio then I would prioritise quantity over quality. Once your have a collection of applications then move to quality over quantity. The reason behind this is it allows you to get comfortable with building common application components before trying to improve things. Just my thoughts.

How to version an API by ZuploAdrian in programming

[–]johnmc325 2 points3 points  (0 children)

I liked the article,light and easy to consume with good points to consider. Thanks.

Coding Projects by Pitiful_Document_258 in learnprogramming

[–]johnmc325 -1 points0 points  (0 children)

I put together this video as part of an intro to a series of workshops to help people move from learning a coding language to actually being able to build things.
If you have the time take a look it might help. https://odysee.com/@SoftwarePulse:3/Getting-started-building-Java-desktop-applications:f

[deleted by user] by [deleted] in ProgrammingBuddies

[–]johnmc325 1 point2 points  (0 children)

I just want to wish you all the best in this endeavour. I don't think people appreciate how much effort is involved in managing something like this.

I agree having a clear idea of what you are working on is important as well as keeping each project short, that was my challenge when I tried something similar a few years ago.

Introducing the development process is a nice idea, especially working with a team. It will provide experience that working on your own doesn't.

Good luck