| strange NetBeans code 
 
	 
	
		| Author | Message |   
		| turboliux 
 
  
 
 
 | 
			
				|  Posted: Tue Dec 06, 2005 4:59 pm    Post subject: strange NetBeans code |  |   
				| 
 |  
				| maybe you know why NetBeans makes such a code? coz JCreator doesn't recognize it, maybe it has to do with .form files? what is "org.jdesktop.layout.GroupLayout"?
 
 
 	  | code: |  	  | org.jdesktop.layout.GroupLayout jPanel2Layout = new org.jdesktop.layout.GroupLayout(jPanel2);
jPanel2.setLayout(jPanel2Layout);
 jPanel2Layout.setHorizontalGroup(
 jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
 .add(org.jdesktop.layout.GroupLayout.LEADING, jPanel2Layout.createSequentialGroup()
 .add(jLabel1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 161, Short.MAX_VALUE)
 .addContainerGap())
 .add(org.jdesktop.layout.GroupLayout.LEADING, jPanel2Layout.createSequentialGroup()
 .add(jLabel2)
 .add(309, 309, 309))
 .add(org.jdesktop.layout.GroupLayout.LEADING, jPanel2Layout.createSequentialGroup()
 .add(jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false)
 .add(jScrollPane2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 168, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
 .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel2Layout.createSequentialGroup()
 .add(jComboBox1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 91, Short.MAX_VALUE)
 .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
 .add(jComboBox2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 71, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
 .add(org.jdesktop.layout.GroupLayout.LEADING, jScrollPane1))
 .add(184, 184, 184))
 );
 
 | 
 |  
				|  |  |   
		|  |  |  
	  
		|  |   
		| Sponsor Sponsor
 
  
   |  |   
		|  |   
		| rizzix 
 
 
 
 
 | 
			
				|  Posted: Tue Dec 06, 2005 5:04 pm    Post subject: (No subject) |  |   
				| 
 |  
				| netbeans' Matisse does not use the SWING LayoutManager. It uses it's own. |  
				|  |  |   
		|  |  |  
	  
		|  |   
		| wtd 
 
 
 
 
 | 
			
				|  Posted: Tue Dec 06, 2005 5:11 pm    Post subject: (No subject) |  |   
				| 
 |  
				| Everytime you use an interface designer that auto-generates code, your soul dies just a little bit.   
 As opposed to things like Apple's NIB files, Glade XML files, or Microsoft's XAML.
 |  
				|  |  |   
		|  |  |  
	  
		|  |   
		| turboliux 
 
  
 
 
 | 
			
				|  Posted: Thu Dec 08, 2005 7:26 am    Post subject: (No subject) |  |   
				| 
 |  
				| Well, i dont like this, i want it to be in swing. However my interface of the program is kinda complicated. Should i code it myself or use something else? Note that its for program dossier, so i should be aware/explain mots of the methods.
 
 Please help
 |  
				|  |  |   
		|  |  |  
	  
		|  |   
		| wtd 
 
 
 
 
 | 
			
				|  Posted: Thu Dec 08, 2005 2:25 pm    Post subject: (No subject) |  |   
				| 
 |  
				| If you're trying to learn Swing... code it yourself.  By hand.  In a text editor. |  
				|  |  |   
		|  |  |  
	  
		|  |   
		| turboliux 
 
  
 
 
 | 
			
				|  Posted: Thu Dec 08, 2005 3:15 pm    Post subject: (No subject) |  |   
				| 
 |  
				| thnx |  
				|  |  |   
		|  |  |  
	  
		|  |   
		|  |  
 |