Пример #1
0
    def initResultados(self):
        diag = JFrame()
        self.lineas = list()
        self.areaResultados = JTextArea()
        numLineas = self.readResultados()

        panelResultados = JPanel()
        #panelResultados.setAutoscrolls(True)
        panelResultados.setBorder(BorderFactory.createEtchedBorder())
        panelResultados.setLayout(GridLayout(0, 1))

        pane = JScrollPane(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
                           JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED)
        pane.viewport.view = self.areaResultados

        #pane.getViewport().add(panelResultados)

        diag.setTitle("RESULTADOS OBTENIDOS")

        diag.setSize(1000, 450)
        diag.setLayout(BorderLayout())
        diag.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE)
        diag.setLocationRelativeTo(None)
        diag.setVisible(True)

        panelResultados.add(pane)
        diag.add(panelResultados, BorderLayout.CENTER)
Пример #2
0
				def run(self):
					self.size = (200, 600)
					self.contentPane.layout = awt.BorderLayout()
					line = BorderFactory.createEtchedBorder(EtchedBorder.LOWERED)

					Panel1=swing.JPanel(awt.FlowLayout(awt.FlowLayout.CENTER))
					Panel1.setBorder(line)
					label=swing.JLabel("")
					label.setText("Liste des Puits")
					Panel1.add(label)
					menu = swing.JMenuBar()
					Panel1.add(menu)
					
					Panel2=swing.JPanel(awt.FlowLayout(awt.FlowLayout.CENTER))
					Panel2.setBorder(line)
					self.__displistwell = swing.JList(self.__listwell)
					self.__displistwell.setVisibleRowCount(28)
					self.__displistwell.setFixedCellWidth(150) 
					Panel2.add(self.__displistwell)
					barre = swing.JScrollPane(self.__displistwell)
					Panel2.add(barre)
					
					
					Panel3=swing.JPanel(awt.FlowLayout(awt.FlowLayout.RIGHT))
					Panel3.setBorder(line)
					select = swing.JButton("Select", actionPerformed=self.__select)
					Panel3.add(select)
					close = swing.JButton("Close", size=(100, 70), actionPerformed=self.__close)
					Panel3.add(close)


					self.contentPane.add(Panel1, awt.BorderLayout.NORTH)
					self.contentPane.add(Panel2, awt.BorderLayout.CENTER)
					self.contentPane.add(Panel3, awt.BorderLayout.SOUTH)
Пример #3
0
				def run(self):
					self.size = (200, 400)
					self.contentPane.layout = awt.BorderLayout()
					line = BorderFactory.createEtchedBorder(EtchedBorder.LOWERED)


					Panel1=swing.JPanel(awt.FlowLayout(awt.FlowLayout.CENTER))
					Panel1.setBorder(line)
					label=swing.JLabel("")
					label.setText("Liste des numeros de boites")
					Panel1.add(label)
			
					Panel2=swing.JPanel(awt.FlowLayout(awt.FlowLayout.CENTER))
					Panel2.setBorder(line)
					self.__displistnumb = swing.JList(self.__listnumb)
					Panel2.add(self.__displistnumb)
					barre = swing.JScrollPane(self.__displistnumb)
					Panel2.add(barre)
			
			
					Panel3=swing.JPanel(awt.FlowLayout(awt.FlowLayout.RIGHT))
					Panel3.setBorder(line)
					select = swing.JButton("Select", actionPerformed=self.__select)
					Panel3.add(select)
					close = swing.JButton("Close", size=(100, 70), actionPerformed=self.__close)
					Panel3.add(close)
			
					self.contentPane.add(Panel1, awt.BorderLayout.NORTH)
					self.contentPane.add(Panel2, awt.BorderLayout.CENTER)
					self.contentPane.add(Panel3, awt.BorderLayout.SOUTH)
Пример #4
0
		def run(self):
			self.size = (800, 400)
			self.contentPane.layout = awt.BorderLayout()
			line = BorderFactory.createEtchedBorder(EtchedBorder.LOWERED)


			Panel1=swing.JPanel(awt.FlowLayout(awt.FlowLayout.CENTER))
			Panel1.setBorder(line)
			label=swing.JLabel("")
			label.setText("Liste des Images")
			Panel1.add(label)
			

			Panel2=swing.JPanel(awt.FlowLayout(awt.FlowLayout.CENTER))
			Panel2.setBorder(line)
			listtitles=[imp.getTitle() for imp in self.__listimp]
			self.__listimages = swing.JList(listtitles)
			self.__listimages.setFixedCellWidth(736)
			self.__listimages.setVisibleRowCount(30)
			barre = swing.JScrollPane(self.__listimages)
			Panel2.add(barre)
			
			Panel3=swing.JPanel(awt.FlowLayout(awt.FlowLayout.RIGHT))
			Panel3.setBorder(line)
			select = swing.JButton("Show Selected", actionPerformed=self.__select)
			Panel3.add(select)
			hide = swing.JButton("Hide Selected", size=(100, 70), actionPerformed=self.__hide)
			Panel3.add(hide)
			closeall = swing.JButton("Close All images", size=(100, 70), actionPerformed=self.__closeall)
			Panel3.add(closeall)
			
			self.contentPane.add(Panel1, awt.BorderLayout.NORTH)
			self.contentPane.add(Panel2, awt.BorderLayout.CENTER)
			self.contentPane.add(Panel3, awt.BorderLayout.SOUTH)
Пример #5
0
				def run(self):
					self.size = (200, 300)
					self.contentPane.layout = awt.BorderLayout()
					line = BorderFactory.createEtchedBorder(EtchedBorder.LOWERED)


					Panel1=swing.JPanel(awt.FlowLayout(awt.FlowLayout.CENTER))
					Panel1.setBorder(line)
					label=swing.JLabel("")
					label.setText("Liste des noms de boites")
					Panel1.add(label)
			
					Panel2=swing.JPanel(awt.FlowLayout(awt.FlowLayout.CENTER))
					Panel2.setBorder(line)
					self.__displistnomb = swing.JList(self.__listnomb)
					self.__displistnomb.setVisibleRowCount(14)
					Panel2.add(self.__displistnomb)
					barre = swing.JScrollPane(self.__displistnomb)
					Panel2.add(barre)
			
			
					Panel3=swing.JPanel(awt.FlowLayout(awt.FlowLayout.RIGHT))
					Panel3.setBorder(line)
					
			
					self.contentPane.add(Panel1, awt.BorderLayout.NORTH)
					self.contentPane.add(Panel2, awt.BorderLayout.CENTER)
					self.contentPane.add(Panel3, awt.BorderLayout.SOUTH)
Пример #6
0
				def run(self):
					self.size = (200,300)
					self.contentPane.layout = awt.BorderLayout()
					line = BorderFactory.createEtchedBorder(EtchedBorder.LOWERED)

					Panel1=swing.JPanel(awt.FlowLayout(awt.FlowLayout.CENTER))
					Panel1.setBorder(line)
					label=swing.JLabel("")
					label.setText("Liste des Genes")
					Panel1.add(label)
					menu = swing.JMenuBar()
					Panel1.add(menu)
					
					Panel2=swing.JPanel(awt.FlowLayout(awt.FlowLayout.CENTER))
					Panel2.setBorder(line)
					self.__displistgenes = swing.JList(self.__listgenes)
					self.__displistgenes.setVisibleRowCount(14)
					self.__displistgenes.setFixedCellWidth(75) 
					Panel2.add(self.__displistgenes)
					barre = swing.JScrollPane(self.__displistgenes)
					Panel2.add(barre)
					
					Panel3=swing.JPanel(awt.FlowLayout(awt.FlowLayout.RIGHT))
					Panel3.setBorder(line)
			


					self.contentPane.add(Panel1, awt.BorderLayout.NORTH)
					self.contentPane.add(Panel2, awt.BorderLayout.CENTER)
					self.contentPane.add(Panel3, awt.BorderLayout.SOUTH)
Пример #7
0
				def run(self):

					self.size = (800, 1000)
					self.contentPane.layout = awt.BorderLayout()
					line = BorderFactory.createEtchedBorder(EtchedBorder.LOWERED)
				
					Panel1=swing.JPanel(awt.FlowLayout(awt.FlowLayout.CENTER))
					Panel1.setBorder(line)
			
					Panel2=swing.JPanel(awt.FlowLayout(awt.FlowLayout.CENTER))
					Panel2.setBorder(line)
					panelistwell = ListeWellBis(self.__dicolistes["Wells"]).getContentPane()
					Panel2.add(panelistwell)
					panelistgenes = ListeGeneBis(self.__dicolistes["Genes"]).getContentPane()
					Panel2.add(panelistgenes)
					panelistnumb = ListeNumBBis(self.__dicolistes["Num_Boite"]).getContentPane()
					Panel2.add(panelistnumb)
					panelistnomb = ListeNomBBis(self.__dicolistes["Nom_Boite"]).getContentPane()
					Panel2.add(panelistnomb)
					panelistcond = ListeCondBis(self.__dicolistes["Condition"]).getContentPane()
					Panel2.add(panelistcond)
					panelistim = ListeImageBis(self.__dicolistes["Images"]).getContentPane()
					Panel2.add(panelistim)
					
					Panel3=swing.JPanel(awt.FlowLayout(awt.FlowLayout.CENTER))
					Panel3.setBorder(line)
					

					Panel4=swing.JPanel(awt.FlowLayout(awt.FlowLayout.CENTER))
					Panel4.setBorder(line)


					
					Panel5=swing.JPanel(awt.FlowLayout(awt.FlowLayout.RIGHT))
					Panel5.setBorder(line)
					
					
					close = swing.JButton("Close", size=(100, 70), actionPerformed=self.__close)
					Panel5.add(close)
					
			
					self.contentPane.add(Panel1, awt.BorderLayout.NORTH)
					self.contentPane.add(Panel2, awt.BorderLayout.CENTER)
					self.contentPane.add(Panel3, awt.BorderLayout.EAST)
					self.contentPane.add(Panel4, awt.BorderLayout.WEST)
					self.contentPane.add(Panel5, awt.BorderLayout.SOUTH)
Пример #8
0
		def run(self):
			self.size = (1000, 400)
			self.contentPane.layout = awt.BorderLayout()
			line = BorderFactory.createEtchedBorder(EtchedBorder.LOWERED)

			Panel1=swing.JPanel(awt.FlowLayout(awt.FlowLayout.LEFT))
			Panel1.setBorder(line)
			label=swing.JLabel("")
			label.setText("Dossier")
			Panel1.add(label)
			self.__dispDossier = swing.JTextField(preferredSize=(400, 30), horizontalAlignment=swing.SwingConstants.LEFT)
			self.__dispDossier.text = self.__selectdir
			Panel1.add(self.__dispDossier)
			browse = swing.JButton("Browse", actionPerformed=self.__browse)
			Panel1.add(browse)

			grid = awt.GridLayout()
			grid.setRows(3)
			grid.setHgap(1)
			grid.setVgap(1)
			Panel2=swing.JPanel(grid)
			Panel2.setBorder(line)
			
			
			label=swing.JLabel("Nom de la boite : ", horizontalAlignment=swing.SwingConstants.RIGHT)
			Panel2.add(label)
			self.__dispNomBoite = swing.JTextField(preferredSize=(200, 30), horizontalAlignment=swing.SwingConstants.CENTER)
			self.__dispNomBoite.text = "20130227_102727_525"
			Panel2.add(self.__dispNomBoite)
			label=swing.JLabel("Numero de la boite : ", horizontalAlignment=swing.SwingConstants.RIGHT)
			Panel2.add(label)
			self.__dispNumBoite = swing.JTextField(preferredSize=(200, 30), horizontalAlignment=swing.SwingConstants.CENTER)
			self.__dispNumBoite.text = ""
			Panel2.add(self.__dispNumBoite)
			label=swing.JLabel("Images :", horizontalAlignment=swing.SwingConstants.RIGHT)
			Panel2.add(label)
			self.__dispImage = swing.JTextField(preferredSize=(200, 30), horizontalAlignment=swing.SwingConstants.CENTER)
			self.__dispImage.text = ""
			Panel2.add(self.__dispImage)
			label=swing.JLabel("Gene :", horizontalAlignment=swing.SwingConstants.RIGHT)
			Panel2.add(label)
			self.__dispGene = swing.JTextField(preferredSize=(150, 30), horizontalAlignment=swing.SwingConstants.CENTER)
			self.__dispGene.text = ""
			Panel2.add(self.__dispGene)
			label=swing.JLabel("Well :", horizontalAlignment=swing.SwingConstants.RIGHT)
			Panel2.add(label)
			self.__dispWell = swing.JTextField(preferredSize=(150, 30), horizontalAlignment=swing.SwingConstants.CENTER)
			self.__dispWell.text = ""
			Panel2.add(self.__dispWell)
			label=swing.JLabel("Condition :", horizontalAlignment=swing.SwingConstants.RIGHT)
			Panel2.add(label)
			self.__dispCond = swing.JTextField(preferredSize=(50, 30), horizontalAlignment=swing.SwingConstants.CENTER)
			self.__dispCond.text = ""
			Panel2.add(self.__dispCond)
			
			
			
			Panel3=swing.JPanel(awt.FlowLayout(awt.FlowLayout.RIGHT))
			Panel3.setBorder(line)

			#on ajoute un bouton qui affiche le contenu de tous les wells d'une boite quelque soient les autres filtres, il utilise la calsse Boite
			viewWells = swing.JButton("View all Wells", size=(100, 70), actionPerformed=self.__viewWells)
			Panel3.add(viewWells)
			
			View = swing.JButton("View Images", size=(100, 70), actionPerformed=self.__View)
			Panel3.add(View)
			generate = swing.JButton("Generate", size=(100, 70), actionPerformed=self.__generate)
			Panel3.add(generate)
			close = swing.JButton("Close", size=(100, 70), actionPerformed=self.__close)
			Panel3.add(close)
			help = swing.JButton("Help", size=(100, 70), actionPerformed=self.__help)
			Panel3.add(help)
			
			

			self.contentPane.add(Panel1, awt.BorderLayout.NORTH)
			self.contentPane.add(Panel2, awt.BorderLayout.CENTER)
			self.contentPane.add(Panel3, awt.BorderLayout.SOUTH)
Пример #9
0
	def run(self, cells, path) :
		
		self.__cells=cells
		cells.sort()
		self.__cells.sort()
		self.__path=path
	
		if len(cells) <= 6 :
			cols=len(cells)
			rows=1
		else :
			cols=6
			rows=int(len(cells)/6)+1

		#print "cols", cols, "rows", rows
		self.setFont(awt.Font("Courrier", 1, 10))
		#self.size=(max(200*cols, 1100), max(70*rows, 300))
		self.size=(max(150*cols, 800), max(50*rows, 250))
		line = BorderFactory.createEtchedBorder(EtchedBorder.LOWERED)
			
		self.contentPane.layout = awt.BorderLayout()
		self.__display = swing.JTextField(preferredSize=(400, 30), horizontalAlignment=swing.SwingConstants.LEFT)
		self.__setDisplay()

		northpanel=swing.JPanel(awt.FlowLayout(awt.FlowLayout.LEFT))
		northpanel.setBorder(line)
		#northpanel.add(self.__display, awt.BorderLayout.NORTH)
		northpanel.add(self.__display)
		selectall = swing.JButton("select ALL", size=(100, 70), actionPerformed=self.__selectall)
		#northpanel.add(selectall, awt.BorderLayout.WEST)
		northpanel.add(selectall)
		selectnone = swing.JButton("select NONE", size=(100, 70), actionPerformed=self.__selectnone)
		#northpanel.add(selectnone, awt.BorderLayout.EAST)
		northpanel.add(selectnone)
		mem = swing.JButton("Memorize", size=(100, 70), actionPerformed= self.__memorize)
		northpanel.add(mem)
		recall = swing.JButton("Recall", size=(100, 70), actionPerformed=self.__recall)
		northpanel.add(recall)
		
		southpanel=swing.JPanel(awt.FlowLayout(awt.FlowLayout.RIGHT))
		southpanel.setBorder(line)
		self.__label=swing.JLabel("validate selection with ok")
		southpanel.add(self.__label)
		ok = swing.JButton("ok", size=(100, 70), actionPerformed=self.__ok)
		southpanel.add(ok)
		close = swing.JButton("close", size=(100, 70), actionPerformed=self.__close)
		southpanel.add(close)
		
		westpanel=swing.JPanel(awt.FlowLayout(awt.FlowLayout.CENTER), preferredSize=(150, 200))
		westpanel.setBorder(line)
		
		show = swing.JButton("show overlay", size=(100, 70), actionPerformed=self.__show)
		westpanel.add(show)
		hide = swing.JButton("hide overlay", size=(100, 70), actionPerformed=self.__hide)
		westpanel.add(hide)
		allframes = swing.JButton("show all", size=(100, 70), actionPerformed=self.__showall)
		westpanel.add(allframes)
		oneframe = swing.JButton("show one frame", size=(100, 70), actionPerformed=self.__showone)
		westpanel.add(oneframe)
		reset = swing.JButton("reset", size=(100, 70), actionPerformed=self.__reset)
		westpanel.add(reset)

		title = BorderFactory.createTitledBorder("Edit Cells")
		title.setTitleJustification(TitledBorder.CENTER)

		eastpanel = swing.JPanel(awt.FlowLayout(awt.FlowLayout.CENTER), preferredSize=(130, 200))
		eastpanel.setBorder(title)
		split = swing.JButton("split", size=(100, 70), actionPerformed=self.__split)
		eastpanel.add(split)
		
		grid = awt.GridLayout()
		grid.setRows(rows)
		checkpanel=swing.JPanel(grid)
		checkpanel.setFont(awt.Font("Courrier", 1, 10))
		self.__boxes=[swing.JCheckBox(actionPerformed=self.__boxaction) for i in range(len(cells))]
		for b in self.__boxes : b.setFont(awt.Font("Courrier", 1, 10))
		#self.__mem=[True for i in range(len(cells))]
		
		for i in range(len(self.__boxes)) : 
			self.__dictBox[cells[i]]=(cells[i], self.__boxes[i])
			
		for i in range(len(self.__boxes)) :
			self.__boxes[i].setText(str(cells[i]))
			self.__boxes[i].setSelected(True)
			checkpanel.add(self.__boxes[i])
		for i in range(rows*cols-len(self.__boxes)) : checkpanel.add(awt.Label(""))
		
		self.contentPane.add(northpanel, awt.BorderLayout.NORTH)
		self.contentPane.add(checkpanel, awt.BorderLayout.CENTER)
		self.contentPane.add(westpanel, awt.BorderLayout.WEST)
		self.contentPane.add(eastpanel, awt.BorderLayout.EAST)
		self.contentPane.add(southpanel, awt.BorderLayout.SOUTH)
		self.contentPane.setFont(awt.Font("Courrier", 1, 10))

		self.__rm = RoiManager.getInstance()
		if (self.__rm==None): self.__rm = RoiManager()
		self.__rm.runCommand("reset")
		
		listfilescells=[]
		listfilescells.extend(glob.glob(path+"*.zip"))


		#includecells = [filename for filename in listfilescells if filename.rsplit("/",1)[1][0:-4] in cells]
		includecells = [filename for filename in listfilescells if os.path.splitext(os.path.split(filename)[1])[0] in cells]
		
		for cell in includecells : 
			#c = cell.rsplit("/",1)[1][0:-4]
			c=os.path.splitext(os.path.split(cell)[1])[0]
			self.__dictFiles[c] = (c, cell)
Пример #10
0
	def run(self) :
		

		self.size=(1100, 400)
		self.contentPane.layout = awt.BorderLayout()
		self.__display = swing.JTextField(preferredSize=(400, 30), horizontalAlignment=swing.SwingConstants.LEFT)
		self.__setDisplay()
		line = BorderFactory.createEtchedBorder(EtchedBorder.LOWERED)
		northpanel1=swing.JPanel(awt.FlowLayout(awt.FlowLayout.LEFT))
		northpanel1.setBorder(line)
		northpanel1.add(self.__display)
		new = swing.JButton("New", size=(100, 70), actionPerformed=self.__new)
		northpanel1.add(new)
		add = swing.JButton("Add", size=(100, 70), actionPerformed=self.__add)
		northpanel1.add(add)
		roiman = swing.JButton("Add Roi manager", size=(100, 70), actionPerformed= self.__addroi)
		northpanel1.add(roiman)
		end = swing.JButton("End", size=(100, 70), actionPerformed= self.__end)
		northpanel1.add(end)

		#grid = awt.GridLayout()
		#grid.setRows(2)
		#northpanel=swing.JPanel(grid)
		#northpanel.add(northpanel1)

		#northpanel2=swing.JPanel(awt.FlowLayout(awt.FlowLayout.LEFT))

		grid0 = awt.GridLayout()
		grid0.setRows(6)
		northpanel2=swing.JPanel(grid0)
		
		northpanel2.setBorder(line)
		label=swing.JLabel("Label2")
		label.setText("Line width ?")
		northpanel2.add(label)
		self.__display2 = swing.JTextField(preferredSize=(50, 30), horizontalAlignment=swing.SwingConstants.LEFT)
		self.__display2.text = "11"
		northpanel2.add(self.__display2)

		label=swing.JLabel("Label3")
		label.setText("Noise for peaks ?")
		northpanel2.add(label)
		self.__display3 = swing.JTextField(preferredSize=(50, 30), horizontalAlignment=swing.SwingConstants.LEFT)
		self.__display3.text = "100"
		northpanel2.add(self.__display3)

		label=swing.JLabel("Label4")
		label.setText("Fluo threshold ?")
		northpanel2.add(label)
		self.__display4 = swing.JTextField(preferredSize=(50, 30), horizontalAlignment=swing.SwingConstants.LEFT)
		self.__display4.text = "170"
		northpanel2.add(self.__display4)
		
		#northpanel3=swing.JPanel(awt.FlowLayout(awt.FlowLayout.LEFT))
		#northpanel3.setBorder(line)

		label=swing.JLabel("Label5")
		label.setText("Min of length ?")
		northpanel2.add(label)
		self.__display5 = swing.JTextField(preferredSize=(50, 30), horizontalAlignment=swing.SwingConstants.LEFT)
		self.__display5.text = "50"
		northpanel2.add(self.__display5)

		label=swing.JLabel("Label6")
		label.setText("Max of length ?")
		northpanel2.add(label)
		self.__display6 = swing.JTextField(preferredSize=(50, 30), horizontalAlignment=swing.SwingConstants.LEFT)
		self.__display6.text = "500"
		northpanel2.add(self.__display6)

		dia = swing.JButton("DIA", size=(100, 70), actionPerformed= self.__dia)
		northpanel2.add(dia)
		fluo = swing.JButton("FLUO", size=(100, 70), actionPerformed= self.__fluo)
		northpanel2.add(fluo)


		southpanel=swing.JPanel(awt.FlowLayout(awt.FlowLayout.RIGHT))
		southpanel.setBorder(line)
		
		help = swing.JButton("Help", size=(100, 70), actionPerformed=self.__help)
		
		self.__label=swing.JLabel("Label")
		southpanel.add(self.__label)
		close = swing.JButton("Close", size=(100, 70), actionPerformed=self.__close)

		southpanel.add(help)
		southpanel.add(close)		
				
		grid = awt.GridLayout()
		grid.setRows(4)
		checkpanel=swing.JPanel(grid)
		checkpanel.setBorder(line)
		
		self.__box0=swing.JCheckBox(actionPerformed=self.__boxaction0)
		self.__box0.setText("Skip failed ROIs")
		self.__box0.setSelected(False)
		
		self.__box1=swing.JCheckBox(actionPerformed=self.__boxaction1)
		self.__box1.setText("Mosaic")
		self.__box1.setSelected(True)
		
		self.__box2=swing.JCheckBox(actionPerformed=self.__boxaction2)
		self.__box2.setText("Mean Projection")
		self.__box2.setSelected(True)

		self.__box3=swing.JCheckBox(actionPerformed=self.__boxaction3)
		self.__box3.setText("Max Finder")
		self.__box3.setSelected(True)

		self.__box4=swing.JCheckBox(actionPerformed=self.__boxaction4)
		self.__box4.setText("Median filter")
		self.__box4.setSelected(True)

		self.__box5=swing.JCheckBox(actionPerformed=self.__boxaction5)
		self.__box5.setText("Fire LUT")
		self.__box5.setSelected(True)

		self.__box6=swing.JCheckBox(actionPerformed=self.__boxaction6)
		self.__box6.setText("Auto Align Left")
		self.__box6.setSelected(True)

		self.__box7=swing.JCheckBox(actionPerformed=self.__boxaction7)
		self.__box7.setText("Auto Enlarge")
		self.__box7.setSelected(True)

		self.__box8=swing.JCheckBox(actionPerformed=self.__boxaction8)
		self.__box8.setText("Measures")
		self.__box8.setSelected(True)
		
		self.__box9=swing.JCheckBox(actionPerformed=self.__boxaction9)
		self.__box9.setText("Auto Align Center")
		self.__box9.setSelected(False)
		
		self.__box10=swing.JCheckBox(actionPerformed=self.__boxaction10)
		self.__box10.setText("Use ellipses")
		self.__box10.setSelected(False)
		
		checkpanel.add(self.__box0)
		checkpanel.add(self.__box1)
		checkpanel.add(self.__box2)
		checkpanel.add(self.__box3)
		checkpanel.add(self.__box4)
		checkpanel.add(self.__box5)
		checkpanel.add(self.__box6)
		checkpanel.add(self.__box7)
		checkpanel.add(self.__box8)
		checkpanel.add(self.__box9)
		checkpanel.add(self.__box10)
		
		grid = awt.GridLayout()
		grid.setRows(10)
		checkpanel2=swing.JPanel(grid)
		checkpanel2.setBorder(line)

		label=swing.JLabel("Label7")
		label.setText("Max of Solidity")
		checkpanel2.add(label)
		self.__display7 = swing.JTextField(preferredSize=(50, 30), horizontalAlignment=swing.SwingConstants.LEFT)
		self.__display7.text = "1"
		checkpanel2.add(self.__display7)

		label=swing.JLabel("Label8")
		label.setText("Min of Solidity")
		checkpanel2.add(label)
		self.__display8 = swing.JTextField(preferredSize=(50, 30), horizontalAlignment=swing.SwingConstants.LEFT)
		self.__display8.text = "0"
		checkpanel2.add(self.__display8)

		label=swing.JLabel("Label9")
		label.setText("Max of Area")
		checkpanel2.add(label)
		self.__display9 = swing.JTextField(preferredSize=(50, 30), horizontalAlignment=swing.SwingConstants.LEFT)
		self.__display9.text = "1447680"
		checkpanel2.add(self.__display9)

		label=swing.JLabel("Label10")
		label.setText("Min of Area")
		checkpanel2.add(label)
		self.__display10 = swing.JTextField(preferredSize=(50, 30), horizontalAlignment=swing.SwingConstants.LEFT)
		self.__display10.text = "1"
		checkpanel2.add(self.__display10)

		label=swing.JLabel("Label11")
		label.setText("Max of Circ")
		checkpanel2.add(label)
		self.__display11 = swing.JTextField(preferredSize=(50, 30), horizontalAlignment=swing.SwingConstants.LEFT)
		self.__display11.text = "1"
		checkpanel2.add(self.__display11)

		label=swing.JLabel("Label12")
		label.setText("Min of Circ")
		checkpanel2.add(label)
		self.__display12 = swing.JTextField(preferredSize=(50, 30), horizontalAlignment=swing.SwingConstants.LEFT)
		self.__display12.text = "0"
		checkpanel2.add(self.__display12)

		label=swing.JLabel("Label13")
		label.setText("Max of AR")
		checkpanel2.add(label)
		self.__display13 = swing.JTextField(preferredSize=(50, 30), horizontalAlignment=swing.SwingConstants.LEFT)
		self.__display13.text = "1392"
		checkpanel2.add(self.__display13)

		label=swing.JLabel("Label14")
		label.setText("Min of AR")
		checkpanel2.add(label)
		self.__display14 = swing.JTextField(preferredSize=(50, 30), horizontalAlignment=swing.SwingConstants.LEFT)
		self.__display14.text = "1"
		checkpanel2.add(self.__display14)

		label=swing.JLabel("Label15")
		label.setText("Max of Feret")
		checkpanel2.add(label)
		self.__display15 = swing.JTextField(preferredSize=(50, 30), horizontalAlignment=swing.SwingConstants.LEFT)
		self.__display15.text = "1392"
		checkpanel2.add(self.__display15)

		label=swing.JLabel("Label16")
		label.setText("Min of Feret")
		checkpanel2.add(label)
		self.__display16 = swing.JTextField(preferredSize=(50, 30), horizontalAlignment=swing.SwingConstants.LEFT)
		self.__display16.text = "1"
		checkpanel2.add(self.__display16)

		label=swing.JLabel("Label17")
		label.setText("Max of Mean")
		checkpanel2.add(label)
		self.__display17 = swing.JTextField(preferredSize=(50, 30), horizontalAlignment=swing.SwingConstants.LEFT)
		self.__display17.text = "65535"
		checkpanel2.add(self.__display17)

		label=swing.JLabel("Label18")
		label.setText("Min of Mean")
		checkpanel2.add(label)
		self.__display18 = swing.JTextField(preferredSize=(50, 30), horizontalAlignment=swing.SwingConstants.LEFT)
		self.__display18.text = "0"
		checkpanel2.add(self.__display18)

		label=swing.JLabel("Label19")
		label.setText("max ratio Axis/Feret")
		checkpanel2.add(label)
		self.__display19 = swing.JTextField(preferredSize=(50, 30), horizontalAlignment=swing.SwingConstants.LEFT)
		self.__display19.text = str(self.__maxraf)
		checkpanel2.add(self.__display19)

		label=swing.JLabel("Label20")
		label.setText("Min ratio Axis/Feret")
		checkpanel2.add(label)
		self.__display20 = swing.JTextField(preferredSize=(50, 30), horizontalAlignment=swing.SwingConstants.LEFT)
		self.__display20.text = str(self.__minraf)
		checkpanel2.add(self.__display20)

		label=swing.JLabel("Label21")
		label.setText("Max MinFeret")
		checkpanel2.add(label)
		self.__display21 = swing.JTextField(preferredSize=(50, 30), horizontalAlignment=swing.SwingConstants.LEFT)
		self.__display21.text = "1392"
		checkpanel2.add(self.__display21)

		label=swing.JLabel("Label22")
		label.setText("Min MinFeret")
		checkpanel2.add(label)
		self.__display22 = swing.JTextField(preferredSize=(50, 30), horizontalAlignment=swing.SwingConstants.LEFT)
		self.__display22.text = "1"
		checkpanel2.add(self.__display22)
		
		
		self.contentPane.add(northpanel1, awt.BorderLayout.NORTH)
		self.contentPane.add(checkpanel, awt.BorderLayout.WEST)
		self.contentPane.add(northpanel2, awt.BorderLayout.CENTER)
		self.contentPane.add(southpanel, awt.BorderLayout.SOUTH)
		self.contentPane.add(checkpanel2, awt.BorderLayout.EAST)