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;
|
2023-11-19 02:12:44 +03:00
|
|
|
import Visual_DVM_2021.Passes.PassCode_2021;
|
|
|
|
|
import Visual_DVM_2021.Passes.Pass_2021;
|
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) {
|
|
|
|
|
Pass_2021.passes.get(PassCode_2021.OpenCurrentProject).Do(files[0]);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|