This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Not completed, hey dude at least give this a try and finish it instead of asking people to do your homework plox | |
*/ | |
public class EmptyRectangle { | |
private static String createXAxisWall(int width) { | |
String firstStar = "*"; | |
String midDashes = ""; | |
for (int i = 0; i < width - 2; i++) { | |
midDashes += "-"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.anemortalkid; | |
import java.awt.Desktop; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
import java.awt.event.KeyEvent; | |
import java.io.File; | |
import java.io.IOException; | |
import java.net.URI; | |
import java.net.URISyntaxException; |
NewerOlder