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-09 23:37:58 +03:00
|
|
|
import Visual_DVM_2021.Passes.PassCode;
|
2024-10-10 23:57:36 +03:00
|
|
|
import Common.Passes.Pass;
|
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-09 23:37:58 +03:00
|
|
|
Pass.passes.get(PassCode.OpenCurrentProject).Do(files[0]);
|
2023-09-17 22:13:42 +03:00
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|