-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Project exclude paths | ||
/out/ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Manifest-Version: 1.0 | ||
Main-Class: com.mt.Main | ||
|
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); | ||
} | ||
} |
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; | ||
} | ||
} |