Category: Java

Make JFrame transparent

How to create a slider for JFrame transparency and make JFrame transparent accordingly? First create a frame that has a slider in it which will be used to set transparency amount. Output of this will be: Now add a change listener to slider so we can monitor it. Now we will write our transparency logic … Continue reading Make JFrame transparent

Create new message notification pop up in Java.

This article is about “How to create new message notification pop up in java?” Example:- 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 below: Output of this will be: Here … Continue reading Create new message notification pop up in Java.