Skip to content
Software Engineering

Software Engineering

Software Engineering

Menu

  • Home
  • Spaces
  • Blog
  • Design
    • Design Pattern
    • Design Principle
    • Microservice
  • Programming
    • Concepts
    • Java
    • Spring
    • Database
  • Tools
    • Cheatsheet
    • IDE
    • vi Editor
    • Git
    • Perforce
    • Troubleshooting
  • Log In

Java

How to Enforce JTextField to Allow Only Numeric Input Data of Limited Length?

How to Enforce JTextField to Allow Only Numeric Input Data of Limited Length?

The JTextField component in javax.swing package is a general-purpose text field that accepts any input character. Often applications need to restrict the text field to accept only a certain type of inputs. One such use case is – the text field only allows numbers without decimal points (integers) and also it must restrict the length of characters.

fiveelements August 24, 2022 Programming No Comments Read more

A Full-Fledged Java-Based HTTP Client

A Full-Fledged Java-Based HTTP Client

We are going to write a mini-browser that can establish a connection with any website (URL) over HTTP protocol and then send requests & receive response messages. For example, you may hit https://google.com and receive the HTML content or hit a REST API endpoint and receive JSON content.

fiveelements January 2, 2020March 2, 2022 Programming No Comments Read more

How to use the Java Instrumentation API to determine object size?

How to use the Java Instrumentation API to determine object size?

In Java 1.5 Instrumentation API was introduced to enable byte-code modification (instrumentation) of classes and to get runtime insights. This is very helpful to tool developers. In this article, we’ll see how Instrumentation API can be leveraged to determine approximate object size at runtime.

fiveelements August 22, 2019February 24, 2022 Programming No Comments Read more

MongoDB Spring Example

MongoDB Spring Example

1. Context In this article, we have seen steps of creating a SpringBoot based imaginary TV program guide app that connects to PostgreSQL using JPA. The same code works for any relational database available in the market. We have to

fiveelements June 30, 2019February 6, 2022 Programming No Comments Read more

Spring Boot app connecting to PostgreSQL using JPA

Spring Boot app connecting to PostgreSQL using JPA

We are going to create a spring boot app that connects to the PostgreSQL database using JPA. Let us build an imaginary TV program guide web app that lists and allows us to search TV channels, programs, etc.

fiveelements June 30, 2019October 11, 2022 Programming No Comments Read more

Articles

  • How to Change Editor Line Height in NetBeans IDE?
  • Git: How to Rename a Git Branch Locally and Remotely
  • Git: Move a Folder From One Repository to Another Without Losing Git History
  • How to Change the Console Font of IntelliJ IDEA
  • How to Find the Size of a File or Folder on Mac and Linux

Categories

  • Programming
  • Tools
  • Troubleshooting

Topics

App Cheatsheet Checkout Coding Command Line Database Git HTTP IDE Installation IntelliJ Java JPA Jupyter Notebook Linux Mac MongoDB NetBeans NoSQL Perforce Perl Productivity Programming Concepts Python Refresh Settings Shortcut Keys Spring SpringBoot Swing Terminal Timeline Tools Top vi Commands Top vim Commands Troubleshooting vi Commands VI Editor vim Commands VIM Editor Visual Studio Code Web WebApp Windows
Copyright © 2025 Software Engineering. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.