SupportWriter space ↗
A JOURNAL ABOUT TECHNOLOGY

Learn something new.
Write. Share.

A space to connect knowledge, one line of code a day.
Discover tutorials, ideas, and notes from a learning journey.

1967 notes & counting ↙
EDITOR’S PICK ↗
Pentesting

Planning Your First Web Application Pentest: Scope, Safety, and Evidence

Build a focused web pentest plan with clear authorization, realistic objectives, controlled testing, and evidence that developers can use.

D Putu Adi Guna Permana · 3 min read
FOR YOUR CURIOSITY

Latest notes.

JDBC / NOTES</>↗
JDBC18 Feb 2008

How do I know if database support transaction?

A database transaction in any relational database management system (RDBMS) is a sequence of one or more SQL operations that are executed as a single unit of work. The primary characteristics and properties of transactions are encapsulated in the ACID principles: Atomicity: Ensures that all operations within the transaction are completed successfully. If any operation […]

Wayan · 2 min read
JDBC / NOTES</>↗
JDBC15 Feb 2008

How do I get database product information?

The code below helps you to get some product information about the database that you use in creating your program. You can retrieve database information such as the major and minor version of the product, the database product name and its release version. package org.kodejava.jdbc; import java.sql.Connection; import java.sql.DriverManager; import java.sql.DatabaseMetaData; import java.sql.SQLException; public class […]

Wayan · 2 min read
JDBC / NOTES</>↗
JDBC13 Feb 2008

How do I get JDBC driver information?

JDBC stands for Java Database Connectivity. It is an API (Application Programming Interface) in Java that allows Java applications to interact with databases. JDBC provides a set of interfaces and classes for connecting to a database, executing SQL queries, and retrieving results. It is part of the Java Standard Edition platform and is designed to […]

Wayan · 2 min read
CORE API / NOTES</>↗
Core API09 Feb 2008

How do I get currency symbol?

package org.kodejava.util; import java.util.Currency; import java.util.Locale; public class CurrencySymbol { public static void main(String[] args) { Currency currency = Currency.getInstance(Locale.JAPAN); System.out.println("Japan = " + currency.getSymbol()); currency = Currency.getInstance(Locale.UK); System.out.println("UK = " + currency.getSymbol()); currency = Currency.getInstance(Locale.US); System.out.println("US = " + currency.getSymbol()); currency = Currency.getInst...

Wayan · 1 min read
AWT / NOTES</>↗
AWT06 Feb 2008

How do I create mouse event using Robot class?

In this example we are automating the process of creating mouse event using the java.awt.Robot class. package org.kodejava.awt; import java.awt.AWTException; import java.awt.Robot; import java.awt.event.InputEvent; public class MovingMouseDemo { public static void main(String[] args) { try { Robot robot = new Robot(); // Move mouse cursor to 200, 500 robot.mouseMove(200, 500); // Press the mouse button […]

Wayan · 1 min read
AWT / NOTES</>↗
AWT05 Feb 2008

How do I get the color of a screen pixel?

The example here show us how to get the color of a pixel in the screen. We use the Robot.getPixelColor(int x, int y) method to obtain the Color of the pixel. package org.kodejava.awt; import java.awt.Color; import java.awt.Robot; import java.awt.AWTException; public class ColorPickerDemo { public static void main(String[] args) { try { Robot robot = new […]

Wayan · 1 min read
✳

Knowledge grows when shared.

Stay curious. There is always something new to learn.

Explore notes ↗
Putu Adi Guna Permana
ABOUT THE AUTHOR

Dr (C). Ir. Putu Adi Guna Permana, S.Kom., M.Kom., IPM., ASEAN Eng.

Writer and founder of Diary Coding — sharing notes, tutorials, and experiences about programming for anyone who wants to keep learning.