Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
JayKL committed Apr 30, 2019
1 parent 0d56304 commit d1d3fc4
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
17 changes: 17 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>MediaPlayer</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
11 changes: 11 additions & 0 deletions .settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.8
Binary file added bin/MediaPlayer.class
Binary file not shown.
28 changes: 28 additions & 0 deletions src/MediaPlayer.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javafx.beans.binding.*;;




class MediaPlayer{
JFrame mainwindow = new JFrame("Media App");
JMenuBar mainmenu=new JMenuBar();
JMenu filemenu= new JMenu("File");
JMenuItem openmenuitem=new JMenuItem("Open");
public static void main(String xyz[]){
MediaPlayer mediaplayerrefvar=new MediaPlayer();
}

MediaPlayer(){
mainwindow.setVisible(true);
mainwindow.setSize(400,400);
mainwindow.setJMenuBar(mainmenu);
mainmenu.add(filemenu);
filemenu.add(openmenuitem);

}


}

0 comments on commit d1d3fc4

Please sign in to comment.