1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
def BuildProjOptPane(self):
thisPane = Panel(java.awt.GridLayout(3,1))
gb = GridBagLayout()
gbc = GridBagConstraints()
self.WorkingDir = JPanel(gb)
component = Label("Working Directory: ")
gbc.gridx = 0
gbc.gridy = 0
gb.setConstraints(component, gbc)
self.WorkingDir.add(component)
component = JTextField(40)
gbc.gridy = 1
gb.setConstraints(component, gbc)
self.WorkingDir.add(component)
component = Button("Browse", actionPerformed=self.BrowseWorkingDir)
gbc.gridx = 1
gb.setConstraints(component, gbc)
self.WorkingDir.add(component)
thisPane.add(self.WorkingDir)
self.FileListC = ListSelectFiles()
thisPane.add(self.FileListC)
self.FileListASM = ListSelectFiles()
thisPane.add(self.FileListASM)
return thisPane
|