All Downloads are FREE. Search and download functionalities are using the official Maven repository.

one.empty3.gui.ModelingInterface.jfd Maven / Gradle / Ivy

Go to download

3D rendering engine. Plus modelling. Expected glsl textures 3d and 2d rendering3D primitives, and a lot of scenes' samples to test.+ Game Jogl reworked, Calculator (numbers and vectors). Java code parser implementation starts (<=1.2)

The newest version!
JFDML JFormDesigner: "7.0.4.0.360" Java: "11.0.11" encoding: "UTF-8"

new FormModel {
	contentType: "form/swing"
	root: new FormRoot {
		add( new FormWindow( "javax.swing.JFrame", new FormLayoutManager( class net.miginfocom.swing.MigLayout ) {
			"$layoutConstraints": "hidemode 3"
			"$columnConstraints": "[fill][fill]"
			"$rowConstraints": "[][][][][][]"
		} ) {
			name: "this"
			add( new FormContainer( "javax.swing.JSplitPane", new FormLayoutManager( class javax.swing.JSplitPane ) ) {
				name: "splitPane1"
				"resizeWeight": 0.5
				"oneTouchExpandable": true
				add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
					name: "scrollPane1"
					add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class net.miginfocom.swing.MigLayout ) {
						"$layoutConstraints": "fill,hidemode 3"
						"$columnConstraints": "[fill][fill]"
						"$rowConstraints": "[][][]"
					} ) {
						name: "panel2"
						add( new FormContainer( "javax.swing.JMenuBar", new FormLayoutManager( class javax.swing.JMenuBar ) ) {
							name: "menuBar1"
							add( new FormComponent( "javax.swing.JMenuItem" ) {
								name: "menuItem16"
								"text": "Save model"
								addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemExportModelActionPerformed", true ) )
							} )
							add( new FormComponent( "javax.swing.JMenuItem" ) {
								name: "menuItem1"
								"text": "Refresh"
								addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemRefresh3DActionPerformed", true ) )
							} )
						}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
							"value": "cell 0 0 2 1"
						} )
						add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class net.miginfocom.swing.MigLayout ) {
							"$layoutConstraints": "hidemode 3"
							"$columnConstraints": "[fill][fill]"
							"$rowConstraints": "[][][]"
						} ) {
							name: "panel3"
						}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
							"value": "cell 0 1 2 2,dock center"
						} )
					} )
				}, new FormLayoutConstraints( class java.lang.String ) {
					"value": "left"
				} )
				add( new FormContainer( "javax.swing.JScrollPane", new FormLayoutManager( class javax.swing.JScrollPane ) ) {
					name: "scrollPane2"
					add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class net.miginfocom.swing.MigLayout ) {
						"$layoutConstraints": "fill,hidemode 3"
						"$columnConstraints": "[fill][fill]"
						"$rowConstraints": "[][][]"
					} ) {
						name: "panel1"
						add( new FormContainer( "javax.swing.JMenuBar", new FormLayoutManager( class javax.swing.JMenuBar ) ) {
							name: "menuBar2"
							add( new FormComponent( "javax.swing.JMenuItem" ) {
								name: "menuItem2"
								"text": "Update View"
								"horizontalAlignment": 2
								addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemUpdateViewActionPerformed", true ) )
							} )
							add( new FormContainer( "javax.swing.JMenu", new FormLayoutManager( class javax.swing.JMenu ) ) {
								name: "menu1"
								"text": "Draw"
								"horizontalAlignment": 2
								add( new FormComponent( "javax.swing.JMenuItem" ) {
									name: "menuItem6"
									"text": "Line"
								} )
								add( new FormComponent( "javax.swing.JMenuItem" ) {
									name: "menuItem5"
									"text": "Rectangle"
									addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemDrawRectangleActionPerformed", true ) )
								} )
								add( new FormContainer( "javax.swing.JMenu", new FormLayoutManager( class javax.swing.JMenu ) ) {
									name: "menu2"
									"text": "Gradient"
									add( new FormComponent( "javax.swing.JMenuItem" ) {
										name: "menuItem10pc"
										"text": "10%"
										addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemGradPCActionPerformed", true ) )
									} )
									add( new FormComponent( "javax.swing.JMenuItem" ) {
										name: "menuItem20pc"
										"text": "20%"
										addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemGradPCActionPerformed", true ) )
									} )
									add( new FormComponent( "javax.swing.JMenuItem" ) {
										name: "menuItem30pc"
										"text": "30%"
										addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemGradPCActionPerformed", true ) )
									} )
									add( new FormComponent( "javax.swing.JMenuItem" ) {
										name: "menuItem40pc"
										"text": "40%"
										addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemGradPCActionPerformed", true ) )
									} )
									add( new FormComponent( "javax.swing.JMenuItem" ) {
										name: "menuItem50pc"
										"text": "50%"
										addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemGradPCActionPerformed", true ) )
									} )
									add( new FormComponent( "javax.swing.JMenuItem" ) {
										name: "menuItem60pc"
										"text": "60pc"
										addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemGradPCActionPerformed", true ) )
									} )
								} )
								add( new FormComponent( "javax.swing.JMenuItem" ) {
									name: "menuItem7"
									"text": "Text"
								} )
							} )
							add( new FormComponent( "javax.swing.JMenuItem" ) {
								name: "menuItem3"
								"text": "Color"
								"horizontalAlignment": 2
								addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItemChooseColorActionPerformed", true ) )
								addEvent( new FormEvent( "java.awt.event.ActionListener", "actionPerformed", "menuItem3ActionPerformed", true ) )
							} )
							add( new FormContainer( "javax.swing.JMenu", new FormLayoutManager( class javax.swing.JMenu ) ) {
								name: "menu3"
								"text": "Gradient"
								"horizontalAlignment": 2
								add( new FormComponent( "javax.swing.JMenuItem" ) {
									name: "menuItem13"
									"text": "Radius"
								} )
								add( new FormComponent( "javax.swing.JTextField" ) {
									name: "textField1"
									"text": "40"
								} )
								add( new FormComponent( "javax.swing.JMenuItem" ) {
									name: "menuItem14"
									"text": "Intensity"
								} )
								add( new FormComponent( "javax.swing.JTextField" ) {
									name: "textField2"
									"text": "20"
								} )
								add( new FormComponent( "javax.swing.JMenuItem" ) {
									name: "menuItem15"
									"text": "Apply"
								} )
							} )
						}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
							"value": "cell 0 0 2 1"
						} )
						add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class net.miginfocom.swing.MigLayout ) {
							"$layoutConstraints": "hidemode 3"
							"$columnConstraints": "[fill][fill]"
							"$rowConstraints": "[][][]"
						} ) {
							name: "panel4"
							addEvent( new FormEvent( "java.awt.event.MouseMotionListener", "mouseDragged", "panel4MouseDragged", true ) )
							addEvent( new FormEvent( "java.awt.event.MouseListener", "mousePressed", "panel4MousePressed", true ) )
							addEvent( new FormEvent( "java.awt.event.MouseListener", "mouseClicked", "panel4MouseClicked", true ) )
							addEvent( new FormEvent( "java.awt.event.MouseListener", "mouseReleased", "panel4MouseReleased", true ) )
							addEvent( new FormEvent( "java.awt.event.MouseListener", "mouseReleased", "panel4MouseReleased", true ) )
						}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
							"value": "cell 0 1 2 2,dock center"
						} )
					} )
				}, new FormLayoutConstraints( class java.lang.String ) {
					"value": "right"
				} )
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 0 1 2 4,dock center"
			} )
			add( new FormComponent( "javax.swing.JLabel" ) {
				name: "label1"
				"text": "text"
			}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
				"value": "cell 0 5 2 1"
			} )
			menuBar: new FormContainer( "javax.swing.JMenuBar", new FormLayoutManager( class javax.swing.JMenuBar ) ) {
				name: "menuBar3"
			}
		}, new FormLayoutConstraints( null ) {
			"location": new java.awt.Point( 0, 0 )
			"size": new java.awt.Dimension( 860, 530 )
		} )
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy