Home » Archives for Byron Kiourtzoglou » Page 12

Author Archives: Byron Kiourtzoglou

Byron is a master software engineer working in the IT and Telecom domains. He is an applications developer in a wide variety of applications/services. He is currently acting as the team leader and technical architect for a proprietary service creation and integration platform for both the IT and Telecom industries in addition to a in-house big data real-time analytics solution. He is always fascinated by SOA, middleware services and mobile development. Byron is co-founder and Executive Editor at Java Code Geeks.

Create color chooser dialog

With this tutorial we shall show you how to create a color chooser dialog in a Java Desktop Application. This is a very useful component when you have an application that let’s the user customize the application with colors and we want to make it easy for them to choose the color he wants. In short, to create a color ...

Read More »

Create JList example

In this example we are going to see how to create a JList component in a Java Desktop Application. The JList component provides a very easy way to get user input, especially when you want to give the user a number of specific options. In order to get the selected value from a JList, one should follow these steps: Create a class ...

Read More »

Create JFrame window with mouse event handling

This is an example that demonstrates how to create a JFrame windows that supports mouse event handling. This is very useful in most GUI applications because most of the time it is very efficient for the user to provide input using his mouse. Additionally, you can make your application behave accordingly to mouse movement and generally to mouse events. Basically ...

Read More »

Create JFrame Window

In this tutorial we are going to see how to create a JFrame window. The JFrame window is the single most important component in a Java Desktop Application. It’s the basic platform in wich you organize all of the application’s components and features. Basically you build your application around it. It is very simple to create a JFrame window as ...

Read More »

Create grouped JRadiobuttons with ButtonGroup

In this tutorial we are going to see how to create grouped JradioButtons using a ButtonGroup. When working with radio buttons in general, it’s usually pointless to create them independently from one another. Because the basic idea is to give the user a group of choices where he has to pick one of them. So the most common practice is ...

Read More »

Handle JCheckBox event

In this example we are going to see how to handle JcheckBox events in a Java Desktop Application. Checkboxes are very commonly used when we provide the user with a list of choices and we want him to pick as many as he wishes. Basically in order to handle JCheckBox events, one should follow these steps: Create a class tha ...

Read More »

Handle action events for JButton

This is a tutorial on how to handle action events for JButtons components in a Java Desktop Application. JButtons are very frequently used, and it is a very standard practice to use buttons for basic input operations in GUI applications. In order to handle action events in JButton, all you have to do is: Create a class that extends JFrame ...

Read More »

Set action command for JButton

In this example we are going to see how to set action command for JButton component. This is a very important task when working in a Java GUI application, as most of the times you have to bundle a button with a specific action. In short, to set action command for JButton one should follow these steps: Create a class ...

Read More »

Set background color in JLabel

With this example we shall show you how to set background color in a JLabel component in Java Desktop Applications. This will enrich and customize your GUI components. It’s very easy to set the background color in a JLebel, as all you have to do is: Create a class that extends JFrame. Create a new JLabel. Use JLabel.setBackground(Color.[COLOR_CODE]) to set the foreground color. Use add method to ...

Read More »

Align Icon in JLabel

With this tutorial we shall show you how to align Icons in JLabel. This is a very easy optimization you can perform to your JLabel. Basically in order to align Icon in JLabel, one should follow these steps: Create a class that extends JFrame. Create a new ImageIcon. Create a new JLabel and use new JLabel(icon, JLabel.CENTER) to set the ...

Read More »