Java music player (core API: Swing+awt+IO+sound, only supports. wav format audio at present, and various formats of audio and lyrics will be implemented in subsequent upgrades)

Using some java IO stream programming skills for reference, a java music player which can be imported into local, wav format is made. The main form JFrame of version 1.0 finished at present The menu bar function has not been fully designed, and the subsequent version will give the function and UTF-8...

Posted by Aurasia on Sun, 11 Jul 2021 03:15:14 +0930

The SSM framework integrates Redis and is easy to use

Tool: Eclipse Environment: JDK8 Tomcat8.5 Redis version: 3.0.504 1. Import jar package In addition to SSM related jar packages, it is also necessary to import redis related jar packages (here I use spring-data-redis-1.8.4.RELEASE.jar, jedis-2.9.0.jar). The project jar packages are as follows: UTF-8...

Posted by nullified on Sat, 17 Jul 2021 06:24:24 +0930

Primary school mathematics exercise (Java programming exercise)

After a semester, try to write blog again. Please don't miss it catalogue Problem description Basic Requirements problem analysis Test examples and running results Problem description Write a program to help primary school students practice mathematics, to help primary school students practice UTF-8...

Posted by SyWill on Thu, 22 Jul 2021 05:45:51 +0930

Calculation expression results with JAVA code

preface The problem of calculating expression results has been a problem that puzzles me for a long time. I accidentally saw a method of using recursion to solve this kind of problem some time ago. I want to share it with you.Before you understand this method, you can forget all kinds of complUTF-8...

Posted by ziltech on Thu, 22 Jul 2021 09:30:45 +0930

Experimental report: primary school mathematics practice, stone scissors paper game

Course design format requirements 1. There is a blank space between the two words of the directory Auto generate directory 2. Font text Song typeface small four Subtitle Song typeface small three 3. The added flowchart must be in traditional flowchart format 4. There must be serial number and pUTF-8...

Posted by taiger on Sat, 24 Jul 2021 03:54:42 +0930

Finding the longest palindrome substring center diffusion method, Manacher, dynamic programming

preface There are many ways to find the longest palindrome substring in a string. I understand three, and I share them with you here 1, Central diffusion method The central diffusion method is a very useful method to solve palindrome substrings. The idea of this method is to spread the string UTF-8...

Posted by j_70 on Sun, 25 Jul 2021 08:10:08 +0930

Java personal learning tour (day 12)

Set (partial): 1. Set Characteristics of storage elements: unordered and unrepeatable explain: Disorder: not equal to randomness. The stored data is not added in the order of array index in the underlying array, but determined according to the hash value of the data.Non repeatability: ensure thUTF-8...

Posted by saltedm8 on Wed, 28 Jul 2021 06:49:40 +0930

Differences and relations of methods such as next(), nextLine(), hasNext(), hasNextLine() in Scanner class

Today, I stepped into a pit in the Scanner class when I was doing the topic. I'm a little speechless, so I'd like to make a summary. Although more and more things are forgotten, I don't want to return everything to the teacher. Hey, let's get to the point. The Scanner class exists in the java.uUTF-8...

Posted by Bisdale on Wed, 28 Jul 2021 07:40:10 +0930

The concept of Java Part1 Day7 array and other applications of sorting array, which declare the assignment of array and the application of traversing array to obtain element array

Methods and arrays 1, Content review 1. break out of switch loop continue is used in a loop How to break out of a specified loop: using tags 2. What is the method? A named block of code that performs a specific function Function: code reuse 3. Syntax of declaration: public static void / data tyUTF-8...

Posted by xxreenaxx1 on Wed, 04 Aug 2021 08:50:38 +0930

Java personal learning tour (day 17)

NIO: Java NIO (New IO, non blocking IO) is a new set of IO API introduced from Java version 1.4, which can replace the standard Java IO. NIO has the same function and purpose as the original IO, but it is used in a completely different way. NIO supports buffer oriented (IO is stream oriented) aUTF-8...

Posted by wudiemperor on Wed, 04 Aug 2021 10:20:24 +0930