2024-10-09 22:15:56 +03:00
|
|
|
package _VisualDVM.Visual.Windows;
|
2024-10-08 16:20:45 +03:00
|
|
|
import Common.Visual.DragDrop.FileDrop;
|
2024-10-14 12:14:01 +03:00
|
|
|
import _VisualDVM.Passes.PassCode;
|
2024-10-13 23:55:03 +03:00
|
|
|
import _VisualDVM.Global;
|
2023-09-17 22:13:42 +03:00
|
|
|
|
|
|
|
|
import javax.swing.*;
|
|
|
|
|
public class WelcomeForm {
|
|
|
|
|
public JPanel content;
|
|
|
|
|
private JTextArea WelcomeText;
|
|
|
|
|
public WelcomeForm() {
|
|
|
|
|
// end filesDropped
|
|
|
|
|
new FileDrop(System.out, WelcomeText, files -> {
|
|
|
|
|
if (files.length > 0) {
|
2024-10-13 23:55:03 +03:00
|
|
|
Global.mainModule.getPass(PassCode.OpenCurrentProject).Do(files[0]);
|
2023-09-17 22:13:42 +03:00
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|