Community activity surrounding JavaFX has been steadily growing, with tweets, blog posts, and projects increasing in number. We are pleased to announce that there is now a JavaFX community site on Java.net at the following URL:
javafxcommunity.com
This site is an aggregator of JavaFX information, where…
I unintentionally posted this before I verified everything, so once I have verified
it all works, I'll updated this post. But this is what should work...
Most Interesting Builder in the World:
"I don't always build the jdk, but when I do, I prefer The New JDK8 Build Infrastructure. Stay built, my friends."
So the new Build Infrastructure…
I have a series of objects moving along the straight lines. I want to implement slight changes of velocity of each of the object. Constraint is existing model of animation. I am new to this, and not sure if it is the best way to accommodate varying speeds, but what do I know?
It is a Java application that repaints the panel every time the timer…
I'm trying to code a tic tac toe game in java and I need help figuring out how to efficiently and without freezing the program check if someone won the game.
I'm only in the design stages now, I haven't started programming anything but I'm wondering how would I know at all times the state of the game and exactly when someone wins?
Response…
I am currently trying to improve my use of exceptions, and found the important distinction between exceptions that signify programming errors (e.g. someone passed null as argument, or called a method on an object after it was disposed) and those that signify a failure in the operation that is not the caller's fault (e.g. an I/O exception).
As…
I have a huge problem while reading computer books. Every couple pages I'll end up googling something I want to learn more about, but then I'll find something on that page that I'll want to learn more about and google that (sometimes programming related, sometime hardware related).
Normally after wasting around 3 hours going into different…
He drew a crowd where he went at JavaOne. And only being 22.5 inches/573 mm tall, that's pretty impressive.
Nao (pronounced now) is an autonomous, programmable humanoid robot developed by Aldebaran Robotics, a French robotics company. Over 200 academic institutions worldwide have made use of the robot. In this video from…
I have made many Android applications and games in Java before, however I am very new to OpenGL ES. Using guides online, I have made simple things in OpenGL ES, including a simple triangle and a cube.
I would like to make a 2D game with OpenGL ES, but what I've been doing isn't working quite so well, as the images I draw aren't to scale,…
Should I learn PHP in depth for my smaller projects or not? My main knowledge is Java/JavaScript for the web. My old small projects were written in classic ASP.
However, ASP had its days. Now I am looking into going deeper with another scripting language which I can use for small website projects. Though I know PHP on a basic level I…
If you work with Oracle Coherence and you're not familiar with the Coherence Community on Java.net you're missing out.
The Coherence Community was launched on Java.net in June 2013, operating under the Open Source Initiative's Common Development and Distribution License (CDDL-1.0). Four projects are currently available for your…
Recently I've took up the challenge for myself to create a basic 2d side scrolling monster truck game for my little brother. Which seems easy enough in theory. After working with XNA it seems strange jumping into Java (which is what I plan to program it in).
Inside my game class I created a private class called GameLoop that…
Une faille de Java permettrait de prendre le contrôle d'une machine
Oracle minimise la vulnérabilité découverte par un ingénieur de Google
Un ingénieur de Google, Tavis Ormandy, vient de mettre à jour une faille de Java qui touche les versions Windows depuis la 6 update 10.
Après avoir contacté Oracle, Ormandy a reçu pour…
I am working on an RPG type game in Java and I would like to know a few things relating to threading,
What is the best way to implement a "wait for this then do this" without hanging the whole thread? Like waiting for a player to move to a location then pick up an item? or to wait one second then attack?
Currently I am…
I'm in the process of making a Java application with a corresponding update application.
At any given time the user may want to update the application and the updater will ask for a list of files of the latest release. Based on this list, the updater can determine which files need to be downloaded to complete the…
Here's an interesting article that came out during JavaOne which talks about the Oracle and Freescale partnership, where we are putting Java technology onto the Freescale i.MX6 based "one box" gateway.
See:
Oracle and Prosyst team up
Here's a quote:
When it comes to connected devices, there’s
still plenty…
In Rich Hickey's thought-provoking goto conference keynote "The Value of Values" at 29 minutes he's talking about the overhead of a language like Java and makes a statement like, "All those interfaces kill your reuse." What does he mean? Is that true?
In my search for answers, I have run across:
The…
I'm developing a java application to visualize time series. I need (at least) three linked views, meaning that interaction with one of them updates the others.
The views are:
A list represents the available and currently selected time series. The selected time series are used as input for subsequent…
I'm developing a J2ME game which uses tiled backgrounds for the levels. My question is how do I store this tile information in my game. At the moment it is stored as an array; with each number representing a different tile from the tile-sheet. This works well enough, however I don't like the fact that…
I’m learning Java at the minute (first language), and as a project I’m looking at developing a simple puzzle game.
My question relates to the methods within a class. I have my Block type class; it has its many attributes, set methods, get methods and just plain methods. There are quite a few.
Then I…
I've just built a self-balancing tree (red-black) in Java (language should be irrelevant for this question though), and I'm trying to come up with a good means of testing that it's properly balanced. I've tested all the basic tree operations, but I can't think of a way to test that it is indeed well…
I am in a situation where I have a Web Application (WAR) that is accessing a REST service provided by another application. The REST service uses Basic HTTP Authentication.
So that means the application calling the REST service needs to store user credentials somehow. To further complicate things,…