5c0892b19d926903b894dfa3221291b92d87d998
Eobard
Java application that reverses any given text. Built for practice.
This task can be done in half the lines and much less complexity by using the "StringBuilder" calss, but I wanted to build it on my own to get un-rusty from basic Java, so the only thing I allowed myself to use was basic programmatic operations and ArrayList.
Screenshots:
To run:
- Download .jar
- Open shell
- cd to download directory
- Type "java -jar Eobard.jar"
- Profit?
Below is a much simpler way to do this. Enjoy:
================================================
import javax.swing.JOptionPane;
public class TestingGrounds {
public static void main(String[] args) {
String stringToReverse = JOptionPane.showInputDialog(null, "String To Reverse:");
JOptionPane.showMessageDialog(null, new StringBuilder(stringToReverse).reverse().toString());
}
}
Description
A Java desktop application for reversing any text quickly and elegantly. Built with elementaryOS.
50 KiB
0 Stars
1 Watchers
0 Forks
Languages
Java
100%

