The swing tag has no wiki summary.
-2
votes
0answers
34 views
KeyListener with CardLayout [closed]
I want to creat a simple game but I'm having problems with KeyListener.
public class Vliegtuig
{
private int XPositie,YPositie, XSnelheid, YSnelheid;
ImageIcon vliegtuigrechts, ...
-2
votes
0answers
57 views
new way to get user name [closed]
i am new at game programming and i am trying to create screen where user can enter their name. 1st i tried using joptionpane and jtextfield but they didnt looked nature and it was out of place. so i ...
-3
votes
0answers
35 views
Using an OpenGL wrapper in Swing? [closed]
I'm building a custom OpenGL wrapper in Java. But I was wondering how do I link OpenGL commands to a Swing window? Thanks in advanced!
1
vote
2answers
71 views
Calling opengl32.DLL from java?
I don't like LWJGL in some cases, so I prefer to use Swing. The thing is that Swing doesn't have OpenGL. I have tried JOGL and it's a mess to install, needs external jars, and I have yet to get it ...
0
votes
1answer
54 views
Are there shaders or at least shader like things in Swing?
Is there? Because I'm wondering if it supports GLSL, HLSL, or it's own shading language? I don't know much about Swing graphics. Does anyone know?
0
votes
1answer
137 views
Tile Maps in Java JFrame Game
I am making a 2D Java game with Java's own drawing library. I was wondering how I would make a tile map display on the screen. I would prefer to use a GUI application to make the maps. I'm looking for ...
-3
votes
4answers
245 views
Making Video Games In pure Java, where to go? [closed]
I have been programing for about a year now, and have a very good grasp on all the basic of programming in generaly and am a pretty decent Java programmer, so now that I have the time I would like to ...
0
votes
0answers
50 views
JFrame on OS X with buffer strategy disables rounded corners
I'm trying to create a simple JFrame window in OS X and render a simple black square on it like so using Graphics2d:
public Start() {
running = true;
window = new JFrame("Finest Hour");
...
0
votes
1answer
61 views
Which Swing control should I use to render graphics with?
I'm using the Swing UI toolkit in Java, and I want to use the Graphics class to draw images and grids in a control. Which is the most appropriate control for this?
0
votes
5answers
311 views
Does Java support OpenGL by itself?
Note: This is long but I explaining everything that you need to know. Don't read half way through it and say "What's the question?". It's simple but long and I need help as soon as possible.
So I ...
2
votes
1answer
186 views
Is jButton in Java suitable for a Game GUI?
Recently I have encountered the issue of trying to add a GUI into my game using Swing. The game will randomly & infrequently flash the jButton or Swing component when I add it to my jFrame. I'm ...
-1
votes
1answer
313 views
Animation Trouble with Java Swing Timer - Also, JFrame Will Not Exit_On_Close [closed]
So, I am using a Java Swing Timer because putting the animation code in a run() method of a Thread subclass caused an insane amount of flickering that is really a terrible experience for any video ...
1
vote
1answer
148 views
keyPressed is not working after adding ActionListener to JButton
I have a serious problem while trying to build a menu for my game.
I've added two JButton to a main JPanel and added an ActionListener for each of them. The main JPanel also contains the game JPanel ...
0
votes
2answers
442 views
Rendering another screen on top of main game screen in fullscreen mode
my game runs in fullscreen mode and uses active rendering. The graphics are drawn on the fullscreen window in each game loop:
public void render() {
Window w = ...