19 lines
511 B
Java
19 lines
511 B
Java
package _VisualDVM.Visual.Windows;
|
|
import Common.Visual.DragDrop.FileDrop;
|
|
import Visual_DVM_2021.Passes.PassCode;
|
|
import Common.Passes.Pass;
|
|
|
|
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.passes.get(PassCode.OpenCurrentProject).Do(files[0]);
|
|
}
|
|
});
|
|
}
|
|
}
|