Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kennedyc5ATWIT committed Feb 17, 2021
0 parents commit df592f5
Show file tree
Hide file tree
Showing 19 changed files with 592 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Project exclude paths
/out/
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/artifacts/ZoomManager_jar.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/description.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/project-template.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

124 changes: 124 additions & 0 deletions .idea/uiDesigner.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions ZoomManager.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/res" type="java-resource" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
Binary file added res/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Main-Class: com.mt.Main

18 changes: 18 additions & 0 deletions src/com/mt/Debug.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package com.mt;

import javax.swing.*;

public class Debug {
public static int INF = JOptionPane.INFORMATION_MESSAGE;
public static int ERR = JOptionPane.ERROR_MESSAGE;
public static int TST = JOptionPane.PLAIN_MESSAGE;
public static int WARN = JOptionPane.WARNING_MESSAGE;

public static void callCrashDialog(String title, String message, int msgtype) {
JOptionPane.showMessageDialog(null, message, title, msgtype);
}

public static void callCrashDialog(String title, Object message, int msgtype) {
JOptionPane.showMessageDialog(null, message, title, msgtype);
}
}
47 changes: 47 additions & 0 deletions src/com/mt/JoinButton.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
package com.mt;

import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class JoinButton extends javax.swing.JButton{
ZoomMeeting meeting;
public JoinButton() {

}

public JoinButton(Icon icon) {
super(icon);
}

public JoinButton(String text) {
super(text);
}

public JoinButton(Action a) {
super(a);
}

public JoinButton(String text, Icon icon) {
super(text, icon);
}

public JoinButton(String text, ZoomMeeting meeting) {
super(text);
this.meeting = meeting;
this.addActionListener(new AbstractAction() {
@Override
public void actionPerformed(ActionEvent e) {
meeting.joinMeeting();
}
});
}

public ZoomMeeting getMeeting() {
return meeting;
}

public void setMeeting(ZoomMeeting meeting) {
this.meeting = meeting;
}
}
Loading

0 comments on commit df592f5

Please sign in to comment.