
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
Raja has Published 469 Articles

raja
2K+ Views
In Java, an enum is a special class that represents a "group of constants" that cannot be changed, just like a "final variables". Java provides an enum keyword to create an enum, and inside the class, the constants are written in uppercase letters and separated by commas (, ). Syntax ... Read More

raja
920 Views
In Java, both String and StringBuffer classes are used to represent sequences of characters. However, the String class is immutable, which means once a String object is created, its value cannot be changed, while the StringBuffer class is mutable. It allows us to modify the contents of the string without ... Read More

raja
8K+ Views
In Java, a GridLayout puts all the components in a rectangular grid and is divided into equal-sized rectangles, and each component is placed inside a rectangle whereas GridBagLayout is a flexible layout manager that aligns the components vertically and horizontally without requiring that the components be of the same size. ... Read More

raja
10K+ Views
In Java, the exceptions are of two types: checked and unchecked exceptions. A checked exception is an exception that occurs at compile time; these are also called compile-time exceptions. An unchecked exception occurs at the time of execution. These are also called Runtime Exceptions. In this article, we will learn to ... Read More

raja
3K+ Views
In this article, we will learn to implement a JLabel text with different colors and fonts in Java. JLabel is commonly used for simple text display, it can be enhanced to show text with multiple colors and fonts. JLabel A JLabel class can extend the JComponent class, and an object ... Read More

raja
9K+ Views
In this article, we will learn to change each column width of a JTable in Java. JTable is Swing's strongest component for displaying and editing tabular information. Adjusting column widths appropriately to display content is among the most prevalent needs for customization. JTable A JTable is a subclass of ... Read More

raja
2K+ Views
The Font class in Java is responsible for setting screen fonts, which are mapped to characters of the language in specific regions. But a FontMetrics class is said to be a font metrics object that encapsulates the data about the rendering of a specific font on a particular screen. Font ... Read More

raja
2K+ Views
In this article, we will learn to center-align the items of a JComboBox in Java. The default rendering of a JComboBox uses a JLabel for each item. JLabel's default alignment is left-justified, hence the misalignment. JComboBox A JComboBox is a subclass of the JComponent class, and it is a ... Read More

raja
1K+ Views
In this article, we will learn to display the line numbers inside a JTextArea in Java. When using text editors or code viewers in Java Swing applications, the showing of line numbers can greatly improve the user experience. What is a JTextArea? A JTextArea is a subclass of JTextComponent and ... Read More

raja
4K+ Views
In this article, we will learn to sort a JTable on a particular column in Java. Data sorting in a JTable is something that most Java Swing applications require. If the users can sort table data by clicking on column headers, it improves the experience greatly. What is a JTable? ... Read More