Skip to content

Instantly share code, notes, and snippets.

View euwbah's full-sized avatar
🙃
smile and wave

euwbah euwbah

🙃
smile and wave
View GitHub Profile
public void takeQuiz() {
for( Question qtn : questions) {
QtnOutcome outcome = qtn.displayQuestion();
while (true) {
if(outcome == QtnOutcome.CORRECT) {
AudioClip right = new AudioClip("file:///C://Users/coolm/Documents/NetBeansProjects/Question/Music/jawsofdeath.wav");
right.play(1.0);
GUIHelper.show("CORRECT");
score += 5;
break;
package loginpageforassignment;
/**
*
* @author kenzewee
*/
import javax.swing.JOptionPane;
import static javax.swing.text.html.HTML.Tag.S;