SupportWriter space ↗
REFERENCE LIBRARY

References from other publishers

Republished articles with source attribution. This collection is separate from Diary Coding’s original guides and does not display ads.

Read original guides → · Editorial policy

FOR YOUR CURIOSITY

Latest notes.

JAVA / NOTES{ }↗
Java29 Sep 2025

How do I use var effectively in local variable declarations?

Using var effectively in local variable declarations in Java is primarily about balancing conciseness and clarity. Below are guidelines, best practices, and tips: When to Use var Obvious Initializer Types Use var when the variable’s initializer makes its type clear: var name = "Alice"; // Clearly a String var age = 25; // Clearly an […]

Wayan · 4 min read
JAVA / NOTES{ }↗
Java06 Sep 2025

How do I loop background music using Clip in Java?

To loop background music in Java using the Clip class from the javax.sound.sampled package, you can use the loop(int count) method of the Clip interface. Setting the count to Clip.LOOP_CONTINUOUSLY makes it loop indefinitely or until the stop() method is called on the Clip. Here is an example to help you achieve this: package org.kodejava.sound; […]

Wayan · 3 min read
JAVA / NOTES{ }↗
Java04 Sep 2025

How do I monitor audio levels in real time using Java Sound API?

Monitoring audio levels in real time is useful for applications like voice recorders, streaming tools, or any app that displays a volume meter. In Java, this is possible using the javax.sound.sampled package, specifically with the TargetDataLine class. In this post, you’ll learn how to: Capture audio input from a microphone Convert it into byte data […]

Wayan · 2 min read
JAVA / NOTES{ }↗
Java18 Aug 2025

How to Delete Files and Directories Recursively in Java

In Java, you can delete files and directories recursively by writing a utility method. The strategy involves: Checking if a file is a directory: If it is, then recursively delete its contents first. Deleting the file or directory: After ensuring a directory is empty, delete it. Here’s an example implementation: Recursive Deletion of Files and […]

Wayan · 2 min read
PLANTUML / NOTES</>↗
PlantUML17 Aug 2025

How to Visualize System Components with PlantUML Component Diagrams

To visualize system components using PlantUML Component Diagrams, you’ll need to follow these steps. Component diagrams allow you to model and delineate the architecture of a larger system by showing how components interact with each other. Steps to Create a Component Diagram with PlantUML Set Up PlantUML To create component diagrams with PlantUML, you need: […]

Wayan · 3 min read
PLANTUML / NOTES</>↗
PlantUML15 Aug 2025

How to Design Package Diagrams Using PlantUML for Modular Architecture

In a modular architecture, package diagrams are a powerful way to represent the dependencies and relationships between different modules or packages within a system. With PlantUML, you can easily create package diagrams to visually describe your architecture and ensure modularity principles like separation of concerns, low coupling, and high cohesion are maintained. Here’s how you […]

Wayan · 4 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.