
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

Converting Code to Clarity
About
A professional technical content writer with Java programming skills. I have a desire to write informative and detailed Java articles for both beginner and professional developers. Having a strong background in HTML, CSS, JavaScript, Java, JDBC, JSP, Spring, and Hibernate.
Alshifa Hasnain has Published 283 Articles

Alshifa Hasnain
2K+ Views
In this article, we will learn to disable the maximize button of a JFrame in Java. When creating Swing GUIs in Java, we might occasionally want to prevent users from maximizing certain windows. Removing the maximize button will do the trick for dialog windows, tool windows, or any window where ... Read More

Alshifa Hasnain
1K+ Views
In this article, we will learn about the implementation of a JToggleButton in Java. The JToggleButton is a basic Swing component in Java that is used to represent a two-state button, i.e., selected or unselected. It is therefore the best component to use when adding on/off or mode selection functionality ... Read More

Alshifa Hasnain
39K+ Views
The layout managers are used to automatically decide the position and size of the added components. In the absence of a layout manager, the position and size of the components have to be set manually. The setBounds() method in Java is used in such a situation to set the position ... Read More

Alshifa Hasnain
2K+ Views
In this article, we will be learning about ClassCastException in Java. But before we jump into this, we'll understand what an exception is in Java. After that, we'll learn why and when ClassCastException occurs, look at real-world code examples that throw this exception, and finally learn how to avoid or ... Read More

Alshifa Hasnain
3K+ Views
In this article, we will learn to implement different borders using the BorderFactory in Java. While building graphical user interfaces (GUIs) with Java Swing, borders can be useful in structuring and managing various sections of our interface. To make it easier to develop several types of borders, Swing offers the BorderFactory ... Read More

Alshifa Hasnain
555 Views
In this article, we will learn to display the different font items inside a JComboBox in Java. The Swing framework provides a powerful JComboBox component that allows users to select an object from a drop-down list. What is a JComboBox? A JComboBox is a subclass of the JComponent class, and ... Read More

Alshifa Hasnain
3K+ Views
Both JRadioButton and JCheckBox components can extend the JToggleButton class in Java, the main difference is that JRadioButton is a group of buttons in which only one button can be selected at a time, whereas JCheckBox is a group of checkboxes in which multiple items can be selected at a time. JRadioButton A JRadioButton is a component ... Read More

Alshifa Hasnain
33K+ Views
We can develop a login form in Java using Java Swing technology. In this example, we can create two labels username and password, two text fields for the user to enter valid credentials, and finally, one submit button. Once the user is able to enter the valid credentials in the ... Read More

Alshifa Hasnain
4K+ Views
Yes, we can change the order of public static void main() to static public void main() in Java, the compiler doesn't throw any compile-time error or runtime error. In Java, we can declare access modifiers in any order, the method name comes last, the return type comes second to last and then ... Read More

Alshifa Hasnain
2K+ Views
In this article, we will learn about the importance of OverlayLayout in Java. In Swing, layout managers offer various means of arranging components within a container like JPanel and JFrame. OverlayLayout provides the creation of layered or overlapping GUIs in Java. What is an OverlayLayout? An OverlayLayout is a subclass ... Read More