mirror of
https://github.com/nasa/trick.git
synced 2025-03-24 13:05:36 +00:00
Checkpoint
This commit is contained in:
parent
ae866402d1
commit
2e46a84495
8
bin/trick-trickify
Executable file
8
bin/trick-trickify
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/usr/bin/perl
|
||||||
|
|
||||||
|
use FindBin qw($RealBin);
|
||||||
|
use lib ("$RealBin/../libexec/trick/pm", "$RealBin/../lib/trick/pm") ;
|
||||||
|
use launch_java ;
|
||||||
|
|
||||||
|
launch_java("Trickify", "Trickify") ;
|
||||||
|
|
@ -137,9 +137,19 @@ public class TrickifyApplication extends RunTimeTrickApplication
|
|||||||
JFrame frame = new JFrame();
|
JFrame frame = new JFrame();
|
||||||
frame.setSize(500, 600);
|
frame.setSize(500, 600);
|
||||||
|
|
||||||
JFileChooser src_dirs_chooser = new JFileChooser();
|
JButton src_dirs_button = new JButton();
|
||||||
src_dirs_chooser.setBounds(0, 0, 400, 250);
|
src_dirs_button.setBounds(0, 0, 50, 20);
|
||||||
frame.add(src_dirs_chooser);
|
src_dirs_button.setText("Choose");
|
||||||
|
src_dirs_button.addActionListener(new ActionListener()
|
||||||
|
{
|
||||||
|
public void actionPerformed(ActionEvent e)
|
||||||
|
{
|
||||||
|
JFileChooser src_dirs_chooser = new JFileChooser();
|
||||||
|
src_dirs_chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
|
||||||
|
src_dirs_chooser.showSaveDialog(null);
|
||||||
|
}
|
||||||
|
} );
|
||||||
|
frame.add(src_dirs_button);
|
||||||
|
|
||||||
int checkbox_x = 0;
|
int checkbox_x = 0;
|
||||||
int checkbox_y = 300;
|
int checkbox_y = 300;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user