List/Grid Tag Archives: Swing

Multi-threading in Java Swing with SwingWorker
If you’re writing a desktop or Java Web Start program in Java using Swing, you might feel the need to run some stuff in the background by creating your own threads. There’s ...

Create new message notification pop up in Java
First create JFrame to work as pop up. Add some JLabels in it to contain information and assign them at proper location to look like a notification message.A sample code is given ...

Transparent JFrame using JNA
In Make JFrame transparent I had shown a way to making frame’s transparent using AWTUtilities class. But using that class results in access restriction compile time error, resolution ...

Make JFrame transparent
First create a frame that has a slider in it which will be used to set transparency amount. import javax.swing.JFrame; import javax.swing.JSlider;public class TransparentFrame ...

Integrating JavaFX and Swing
I’ve just finished rewriting a component of my app that was using Swing and now is using JavaFX, I’ve ended up with a JavaFX component that integrates with the larger swing app. ...

Chat bubble in Java Swing
This article will explain you “how to draw chat bubble in java swing application?” Chat bubble is same as call-out or thought bubble. Today most of the chat application is showing ...

Java GUI Application Shutdown Gotcha
In recent times I’ve had issues with one or two Java GUI application not shutting down when I close them. They seem to stay around as a process, consuming computer resources. ...

Java Swing to Android
Here is a quick, brief 10,000ft overview/observations on Android from a Swing developers point of view. Firstly if your coming to Android from Swing you are approaching it with a big ...

Java Swing Tic-Tac-Toe
Hello people! Wow its been a while since I posted something here…! I must say I really miss writing stuff and I promise I wont get into a ‘writer’s block’ again. Hopefully ...

Graphics Tutorial
As we all know that we can make games with the help of java libraries that provide us with the graphics needed for making them. So today I will be starting a very new section on Java ...


