Tag development

Java Platform

This post explains the most relevant concepts about the software needed to run and/or compile Java on a device. It also clarifies the differences between concepts like JVM, JRE, JDK, OpenJDK or Java SE. Java Platforms A Java platform is…

Play sound clip from local file in Java

This solution works only for .wav files. Source code: public void playSound() { try { AudioInputStream audioInputStream = AudioSystem.getAudioInputStream(new File(“”).getAbsoluteFile()); Clip clip = AudioSystem.getClip(); clip.open(audioInputStream); clip.start(); } catch(Exception ex) { System.out.println(“Error with playing sound.”); ex.printStackTrace(); } } External References “Playing…

Cross-platform Programming Toolkits

This post features software to create widget toolkits for creating graphical user interface (GUI). List of cross-platform Widget Toolkits Widget toolkits featured on this post: GTK+ GTK, formerly GTK+, evolves from the GIMP Toolkit (GTK), that was the user interface…