Before getting started you need to have Linux OS installed in your machine for this library to work properly. The Rainbow is the java library to make good User Interfaces for Linux terminals. There are many ways through which
can get a start use of this library. Below are the following type of uses you can start with:
Developer Use
So if you are a java developer you have to install these technologies in your machine.
1. JDK 8 / 11
So if don't have jdk in your machine you can install JDK 11 / JDK 8.
2. Git
The git should be in your machine if your are a developer if you don't have then you can install is here. Clone the repository using the below command:
3. A good Java IDE
You can install any of the good IDE's listed below
Intellij Idea
Eclipse
VS Code
If you don't have any IDE listed above then you can install from below links:
Here you can see the documentation of the Rainbow class and try different functions or we you want to add some custom
functions in our library then you can see our next section.
Adding customization to Rainbow Library
Create a new class filename Hello in java folder.
Copy the below code in Hello.java file.
Run the Hello.java file then you will see the output of the new method which we have created.
Here you can see the documentation of the Rainbow class and try different functions or we you want to add some custom
functions in our library then you can see our next section.
Customize with VS Code
For doing customization in VS Code you have to install java Extension pack from VS Code marketplace.