Search Results
| Search type | Search syntax |
|---|---|
| Tags | [tag] |
| Exact | "words here" |
| Author | user:1234 user:me (yours) |
| Score | score:3 (3+) score:0 (none) |
| Answers | answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
| Views | views:250 |
| Code | code:"if (foo != bar)" |
| Sections | title:apples body:"apples oranges" |
| URL | url:"*.example.com" |
| Saves | in:saves |
| Status | closed:yes duplicate:no migrated:no wiki:no |
| Types | is:question is:answer |
| Exclude | -[tag] -apples |
| For more details on advanced search visit our help page | |
Results tagged with java
Search options not deleted user 74199
Java is both a popular object-oriented programming language and runtime environment which allows Java programs to run unchanged on most hardware and software platforms.
0 votes
Question about JPanel "transition" for Java Swing
The easiest to do this is to add BOTH JPanels or JComponents to the JFrame and set only ONE of then visible. Then you would have a function that would call the visible component to be invisible and th …
0 votes
keyPressed is not working after adding ActionListener to JButton
The problem is that you didn't include this statement: foo.addKeyListener(bar); Where "foo" is the object ( That extends JComponent ) that can add Key Listeners, and "bar" is the class that contain …
1 vote
0 answers
114 views
Can we access the internal array of a Android Bitmap?
Does an Android Bitmap function similar to a BufferedImage? When you get the internal pixel buffer as an int[] or as a byte[] and update the values inside them, the image changes. Is that the same cas …
9 votes
1 answer
2k views
How do I induce collision events in LibGDX 3D?
In the code below I've put an example of something I want to do. I have the camera and I want it to stop moving whenever it hits one of the boxes, how do I do this? public class Main extends Applicat …
0 votes
Swing GUI for games (performance)
For the most part, swing is very easy to learn. Swing itself is not a good developmental language for 2D based games, however, it can be used for minor GUI applications, such as the one you are talkin …
1 vote
1 answer
2k views
How do you rotate all the objects around the camera?
If I'm correct, the way that you can "look around" in an environment is that you rotate all the objects around the camera. This is the code that I've created using JavaFX 3D. So what's the algorithm? …