Nov 192012
 

Assalamu’ alaikum wr wb

Satu lagi info untuk para penggemar java programing ada sebuah editor yang lumayan ringan buat kalian kalian.

Langsung saja kalian bisa download di sini :聽http://www.javaeditor.org/index.php/Main_Page

Editor sudah berbasis GUI

Wassalamu’ alaikum wr wb

Oct 082012
 

Assalamu’ alaikum wr wb

Replace char on swt (Membaatasi input keyboard dalam swt Text)

Eclipse

Terkadang kita saat membuat text input pada sebuah aplikasi kita ingin hanya membutuhakan bis diisi dengan number saja, atau mungkin bisa number atau huruf tanpa ada karakter – karakter khusus yang dapat masuk.

Dulu saya pernah membuat tutorial dengan menggunakan swing , tetapi karena pekerjaan saya sekarang sedang banyak menggunakan swt(Standart Widget Toolkit)聽milik dari IBM atau Eclipse. Selain tentang membaatasi text saya juga akan menunjukkan bagaimana caranya membuat class turunan dari swt widget.

Sebenarnya saya ada sedikit maslah yang mungkin ada alami juga saat membuat class turunan dari swt widget. saat kita kompile akan muncul error seperti di bawah ini :

Exception in thread “main” org.eclipse.swt.SWTException: Subclassing not allowed

Untuk menutup error pada masalah diatas tambahkan metod checkSubclass聽聽pada class turunan yang anda buat.

Berikut adalah script untuk batasi text dan Pembuatan class turunan dari Text Widget

import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Listener;

public class TextFormat extends org.eclipse.swt.widgets.Text{
	public TextFormat(Composite parent, int style) {
		super(parent, style);
		setFormat();
	}
	@Override
	protected void checkSubclass() {
	}
	private void setFormat(){
		this.addListener(SWT.Verify, new Listener() {
			public void handleEvent(Event e) {
				String string = e.text;
				char[] chars = new char[string.length()];
				string.getChars(0, chars.length, chars, 0);
				for (int i = 0; i < chars.length; i++) {
					if (('a'<= chars[i] && chars[i] <= 'z'
							|| '0' <= chars[i] && chars[i] <= '9'
							|| 'A'<= chars[i] && chars[i] <= 'Z')==false) {
						e.doit = false;
						return;
					}
				}
			}
		});
	}
}

Oke semoga membantu dan semoga dapat di kembangkan.

Wassalamu’ alaikum wr wb

Jan 042011
 

Assalamu’ alaikum wr wb

Bagi teman – teman pecinta java silakan download beberapa link ebook di sini :

http://www.4shared.com/document/5K4jS3b0/Copy_of_Manning-Java1Persisten.html
http://www.4shared.com/document/NncOfAzA/Head-First-Java-2nd-edition.html
http://www.4shared.com/document/DhWnI1Ir/java_-_J2EE_Design_Patterns_Ap.html
http://www.4shared.com/document/FxEJfnyk/Java_and_XML.html
http://www.4shared.com/document/4UzU6_Q3/Database_Programming_with_JDBC.html
http://www.4shared.com/document/O6_3DvDq/Java_Web_Development_using_Hib.html
http://www.4shared.com/document/SiQc_dW4/Fundamentals_of_the_Java_Progr.html
http://www.4shared.com/document/fJKqLItI/Object-Oriented_Design_with_UM.html
http://www.4shared.com/document/yNukM-HI/java_-_wireless_programming_in.html
http://www.4shared.com/document/FsbcW5pv/Java_Programming_Language_Basi.html
http://www.4shared.com/document/Q8X_6vVx/Copy_of__ebook_pdf__-_Java_-_J.html
http://www.4shared.com/document/bivkS-bK/Java_2_Core_Language_Little_Bl.html
http://www.4shared.com/document/o__Yyfmp/Java_Programming_Language_Hand.html
http://www.4shared.com/document/zxy5AVTV/Fundamentals_of_OOP_and_Data_S.html
http://www.4shared.com/document/d7X3YvTv/Developing_Web_Applications_Us.html
http://www.4shared.com/document/0vYi4Lbx/Core_Java_V1_8TH.html
http://www.4shared.com/document/mkTLKWic/Java_Programming_Cookbook_-_He.html
http://www.4shared.com/document/u1UX_W7i/ApressBeginningJavaSE6Platform.html
http://www.4shared.com/document/xkxgH4qb/java_script_bible_-_gold_editi.html
http://www.4shared.com/document/DCCxLjvs/Copy_of_Java_-_Swing_com_Netbe.html
http://www.4shared.com/document/Sc5sTaue/Professional_Java_Development_.html
http://www.4shared.com/document/rfLFUpN0/jsp_tutorial_ebook_java_progra.html
http://www.4shared.com/document/0XPo48ch/Developing_Java_Beans.html
http://www.4shared.com/document/59QNln5l/MySQL_And_Java_Developers_Guid.html
http://www.4shared.com/document/8m99UXUu/NetBeans_IDE_Java_Editor.html
http://www.4shared.com/document/Sy2caaa5/How_to_Program_Using_Java.html
http://www.4shared.com/document/tPIneVcQ/Object-Oriented_Programming_an.html
http://www.4shared.com/document/ikhrmKd8/Learning_Java_Network_Programm.html
http://www.4shared.com/document/Sh8pBrZp/java_the_definitive_guide_to_j.html
http://www.4shared.com/document/DizvSOee/Java_Collections_Tutorial.html
http://www.4shared.com/document/ZIqTHQAH/_ebook-pdf__Java_Swing_GUI_JFC.html
http://www.4shared.com/document/zuoG-vNy/jdbc_-_java_database_connectiv.html
http://www.4shared.com/document/_6GHMUNI/Java_Performance_Tuning.html
http://www.4shared.com/document/taJCiFgR/Java_Database_Programming_Bibl.html
http://www.4shared.com/document/VBWdEsGG/java-tm-network-programming-an.html
http://www.4shared.com/document/3GOcE8Va/Object-Oriented_Programming_Wi.html
http://www.4shared.com/document/oAga8xp4/Java_RMI.html
http://www.4shared.com/document/R6Rct9_n/dasar-pemrograman-java.html

Wassalamu’ alaikum wr wb

May 262010
 

Assalamu’ alaikum wr wb

Tadi pagi buka – buka hardisk lama saya eh saya menemukan sebua folder bertulisan proteksi jar, trus buka deh didalamnya terdapat beberapa folder :

  1. jode-1.0.92
  2. proguard4.4
  3. retroguard-v2.3.1
  4. Dan beberapa file yang masih dalam kondisi rar file.

Mulailah buka – buka satu satu, akhirnya saya mencoba proguard4.4 ternyata bagus tuh aplikasi untuk meprotrksi aplikasi yang sudah menjadi jar. setelah proses encrip selesai, jika di decompiler maka class di dalamnya akan acak. untuk informasi lebih lanjut anda bisa masuk ke http://proguard.sourceforge.net/

Ini sekedar info bagi anda yang ingin jar nya di protek monggo, yang tidak ya monggo 馃榾

Wassalamu’ alaikum wr wb

Feb 252010
 

Tutorial ini adalah penjelasan dari demo42 pada OpenSwing.

Pertama kali yang dibutuhkan adalah lib OpenSwing yang dapat anda download di http://oswing.sourceforge.net

yang kedua adalah editor terserah menggunakan apa saja boleh.

langsung saja penjelasannya seperti ini.

Untuk mengaktifkan sub grid dalam grid OpenSwing kita tinggal mengaktifkan meng enable propetiesnya.

grid.setSingleExpandableRow(true);

setelah itu buat entity yang anda butuhkan.

Yang membuat scrip pada saat grid tree di clik dapat memanggil panel adalah seperti di bawah ini :

grid.setExpandableRowController(new ExpandableRowController() {
 @Override
 public boolean isRowExpandable(VOListTableModel model, int rowNum) {
 return true;
}

 @Override
public JComponent getComponentToShow(VOListTableModel model, int rowNum) {
 EntityKamu vo = (EntityKamu) model.getObjectForRow(rowNum);
 PanelController c = new PanelController(conn, vo);
 GridPanel p = c.getPanel();
 p.setPreferredSize(new Dimension(590,480));
 p.setBorder(BorderFactory.createEtchedBorder());
 return p;
}

 @Override
public Component getFocusableComponent(JComponent showedComponent) {
 GridPanel p = (GridPanel) showedComponent;
 return p.getGrid();
}
 });

yang membuat panel tampil adalah pada event getComponentToShow, dengan mengirimkan parameter koneksi, dan entity.

untuk demo sampean bisa coba sendiri pada demo42 OpenSwing

Forum : http://forum.do-event.com/viewtopic.php?f=9&t=56

Semoga membantu

Hasil

Hasil

Feb 232010
 

bagi pengguna java saat menggunakan JTable mungkin anda ingin memasukkan combo ke dalam jtable anda.

Kali ini saya akan menunjukkan bagaimana cara memasukkan sebuah Object JComboBox Kedalam JTabel siap !!!!!.

Yang pertama buat sebuah class dengan nama mComboEditor :


package demoCombo;

import javax.swing.ComboBoxModel;
import javax.swing.DefaultCellEditor;
import javax.swing.JComboBox;
/**
 *
 * @author mbahsomo
 */
public class mComboEditor extends聽 DefaultCellEditor{
 public mComboEditor(ComboBoxModel item) {
 super(new JComboBox(item));
 }
}

Kemudian buat sebuah JFrame dengan sebuah JTable Di dalamnya :

package demoCombo;

import javax.swing.ComboBoxModel;
import javax.swing.DefaultComboBoxModel;

/**
 *
 * @author mbahsomo
 */
public class LatihanTabel extends javax.swing.JFrame {

 /** Creates new form LatihanTabel */
 public LatihanTabel() {
 initComponents();
 jTable1.getColumnModel().getColumn(1).setCellEditor(new mComboEditor(getIsiCombo()));
 }

 private ComboBoxModel getIsiCombo(){
 DefaultComboBoxModel model = new DefaultComboBoxModel();
 for(int a = 1 ; a <= 10 ; a++){
 model.addElement("Isi Combo Ke " + a );
 }
 return model ;
 }
 /** This method is called from within the constructor to
 * initialize the form.
 * WARNING: Do NOT modify this code. The content of this method is
 * always regenerated by the Form Editor.
 */
 @SuppressWarnings("unchecked")
 // <editor-fold defaultstate="collapsed" desc="Generated Code">
 private void initComponents() {

 jScrollPane1 = new javax.swing.JScrollPane();
 jTable1 = new javax.swing.JTable();

 setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
 setTitle("Latihan Combo");

 jTable1.setModel(new javax.swing.table.DefaultTableModel(
 new Object [][] {
 {null, null},
 {null, null},
 {null, null},
 {null, null}
 },
 new String [] {
 "Text Biasa", "Combo"
 }
 ));
 jScrollPane1.setViewportView(jTable1);

 javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
 getContentPane().setLayout(layout);
 layout.setHorizontalGroup(
 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
 .addContainerGap(15, Short.MAX_VALUE)
 .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 398, javax.swing.GroupLayout.PREFERRED_SIZE)
 .addContainerGap())
 );
 layout.setVerticalGroup(
 layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
 .addGroup(layout.createSequentialGroup()
 .addContainerGap()
 .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 256, javax.swing.GroupLayout.PREFERRED_SIZE)
 .addContainerGap(14, Short.MAX_VALUE))
 );

 java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
 setBounds((screenSize.width-431)/2, (screenSize.height-308)/2, 431, 308);
 }// </editor-fold>

 /**
 * @param args the command line arguments
 */
 public static void main(String args[]) {
 java.awt.EventQueue.invokeLater(new Runnable() {
 public void run() {
 new LatihanTabel().setVisible(true);
 }
 });
 }

 // Variables declaration - do not modify
 private javax.swing.JScrollPane jScrollPane1;
 private javax.swing.JTable jTable1;
 // End of variables declaration

}

Ok Sekarang tinggal jalankan program dan silakan di explorasi sendiri 馃榾

Feb 142010
 

Beberapa hari yang lalu saya iseng mencari plugin netbens dan menemukan beberapa plugin yang bagus. Salah satunya adalah

JComponentPack

wih keren juga tuh komponen jika ingin download silakan masuk ke sini : http://www.zfqjava.com/download.html

Tapi sayang itu demo.

Sebelumnya saya juga minta maaf kepada pembuat [http://www.zfqjava.com] karena saya iseng membuat license nya walaupun masih muncul tulisan license not found cuman bisa di coba.

Caranya download file license.jar lalu kopikan ke folder lib hasil downloatan kamu.

download license.jar [sudah saya coba pada versi 3.0 berjalan lancar]

Feb 122010
 

Saat kita membuat sebuah program terkadang kita ingin mengambil event pada sebuah object. Sekarang kita akan membahas event yang terdapat pada Grid OpenSwing. Karena pada OpenSwing Menggunakan Metode MVC [Model View Controoler], sehingga pada beberapa komponennya pun banyak yang menggunakan metode itu.

Termasuk pada Grid [Bukan Jtable] untuk mengolah sebuah grid kita harus menggunakan class Controller yang akan menghandle semua propses pada Grid tersebut. Sekarang kita akan coba melihat event – event apa saja yang terdapat dan dapat di handle oleh class GridController pada OpenSwing.

  1. LoadData
  2. InserRecord
  3. deleteRecords
  4. dll

Ada banyak event yang bisa di tangani termasuk event enter pda grid. Tetapi ternyata tidak da evnt KeyPress pada grid. saat kita mau mengambil eventKey pada grid ternyata tidak bisa. Nah jalan keluarnya adalah dengan menambahkan event tersebut pada Controller grid.

Berikut langkah – langkahnya :

  1. Download source Openswing di http://opswing.sourceforge.net
  2. Extrack File.
  3. Kemudian edit file Grid.java dan GridController.java

Dua file tersebut terletak pada package org.openswing.swing.table.client.

Edit Grid.java :

public void keyReleased(KeyEvent e) {
 gridController.keyReleased(getSelectedRow(), Grid.this.model.getObjectForRow(getSelectedRow()),e);
 if (Grid.this.grids.getCurrentNestedComponent() != null) {
 if (Grid.this.grids.getCurrentNestedComponent() instanceof Grid
 && e instanceof KeyEvent
 && ((KeyEvent) e).getKeyCode() == e.VK_TAB) {
 return;
 }
 Grid.this.grids.getCurrentNestedComponent().dispatchEvent(e);
 //聽聽聽聽聽聽聽聽聽聽聽聽聽 e.consume();
 repaint();
 return;
 }

 if (getMode() == Consts.READONLY) {
 controlDown = e.isControlDown();
 } else {
 controlDown = false;
 }
}

lihat script pada baris ke dua.

gridController.keyReleased(getSelectedRow(),  Grid.this.model.getObjectForRow(getSelectedRow()),e);

pada event tersebut saya menambahkan tiga buah parameter pada event keyRelease

  1. Baris grid yang sedang aktif.
  2. Nilai berupa object data.
  3. keyEvent.

kemudian tambahkan method keyReleased pada GridController

public void keyReleased(int rowNumber,  ValueObject persistentObject, java.awt.event.KeyEvent evt) {}

Sekarang tinggal clean and build agar bisa menjadi jar dan masukkan hasil kompilan ke project kamu dan coba munculkan event pada GridController kamu.

Sekian semoga membantu

Forum : http://forum.do-event.com/viewtopic.php?f=31&t=51

Dec 142009
 

‘s new in OpenSwing 2.1:
路 changed TreePanel behavior when selecting multiple nodes: now popup menu is showed in this case too
路 fixed problem in QueryUtil when using filtering grid with multiple values and is null operator
路 improved grid/form value object analysis: now multiple instances of the of the same class are managed
路 added “getLazyInitializedAttributes” to Form panel, in order to define attributes to skip on managing Form’s value object
路 added HH_MM_SS_SSS and HH_MM_SS_SSS_AAA masks to Resources class, in order to support times expressed with milliseconds too
路 fixed problem with TextAreaColumn when setting maxCharacters property
路 The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

What’s new in OpenSwing 2.0.5:
Changes in grid control:
路 added “getCurrentSortedColumns” to GridControl
路 added “getCurrentSortedVersusColumns” to GridControl
路 changed addSortedColumn/removeSortedColumn in order to execute internal sorting if “orderWithLoadData” property is false and
路 last method argument is set to false
路 added DateColumnSettings interface in order to customize date/time format for each cell in DateColumn, DateTimeColumn and TimeColumn
路 Added srcchayenne, srcejb3, srclnf folder to OpenSwing distribution.
路 Changed translation in PolishOnlyResourceFactory.
路 Fixed a problem on JPAUtils when fired an exception.
路 Fixed problem in TreeMenu.
路 Added HH_MM_SS and H_MM_SS_AAA to Resources class, in order to support seconds in DateTime and Time columns/control.
路 Improved NumericControl in order to check for maxCharacters property in real time and not only when losting focus.
路 The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

What’s new in OpenSwing 1.9.9:
路 Final release 1.9.9 available
路 Rebuild whole project.
路 The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

What’s new in OpenSwing 1.9.6:
路 Added global property HEADER_FOREGROUND_COLOR to ClientSettings class, in order to set the default foreground color for column headers for all grids.
路 Changed default value for “headerForegroundColor” property in Column class: now it is filled with HEADER_FOREGROUND_COLOR global property.
路 Fixed problem with CheckBoxColumn when positive/negative values are not Boolean.TRUE/FALSE values.
路 Fixed problem on using UI designer for OpenSwing components on Linux+Java1.6.
路 Added “selectDataInEdit” property to text/numeric type columns, in order to auto select cell content when starting the cell editing.
路 Added “SELECT_DATA_IN_EDIT” global property to ClientSettings, in order to auto select cell content when starting the cell editing for all grids.
路 The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

What’s new in OpenSwing 1.9.5:
路 Rebuild whole project.
路 The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

What’s new in OpenSwing 1.9.4:
路 Added global property SEARCH_ADDITIONAL_ROWS in ClientSettings, used by grid control in order to enable the retrieval of additional rows in fast search, when search criteria fails.
路 Added boolean property named “searchAdditionalRows” to GridControl, in order to enable the retrieval of additional rows in fast search, when search criteria fails. Its default value is defined through ClientSettings.SEARCH_ADDITIONAL_ROWS global property.
路 Fixed problem in GridControl on retrieving data: now status bar showes “loading data…” message again.
路 Fixed bug in CayenneUtils class, when applying filtering conditions having multiple values.
路 PivotTable improvement: added expand/collapseRow and expand/collapseColumn methods, in order to dynamically expand/collapse selected cell in data table.
路 The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

What’s new in OpenSwing 1.9.3:
路 Improved check box column: now change value event is listened when clicking on check-box and no more after losting focus from cell, as for other columns.
路 The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

What’s new in OpenSwing 1.9.2:
路 Improved ClientUtils.displayURL() method, in order to support Mac OS browsers.
路 Fixed problem when using PivotTable in 3tiers applications.
路 Added setVisibleColumn() method to GridControl, in order to dinamically show/hide columns in a already visible grid.
路 The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

What’s new in OpenSwing 1.9.1:
路 Added French internationalization settings class.
路 Added Norwegian internationalization settings class.
路 Added addPopupMenuItem to TreePanel, in order to add a menu item to a parent menu item.
路 The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

What’s new in OpenSwing 1.9.0:
路 Added “expandNode” and “collapseNode” methods to TreePanel and TreeGridPanel, in order to expand/collapse a single node.
路 Fixed problem on opening some detail frames, having a lookup auto-completition feature enabled.
路 Fixed problem when using Substance LNF on loading grid having an error.
路 The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

What’s new in OpenSwing 1.8.9:
路 Added global boolean property HIDE_ZERO_DIGITS, used in numeric controls/columns in order to show/hide zero digits.
路 Added “hideZeroDigits” boolean property to NumericControl and CurrencyControl, as for DecimalColumn, in order to show/hide zero digits.
路 Added global boolean property CURRENCY_SYMBOL_ON_LEFT, used in currency controls/columns in order to show currency symbol on the left or on the right of the numeric value.
路 Added “currencySymbolOnLeft” boolean property to CurrencyControl and CurrencyColumn, in order to show currency symbol on the left or on the right of the numeric value.
路 Updated PolishOnlyResourceFactory content.
路 Fixed problems when using afterMDIcreation callback with Substance Look ‘n Feel in demo10.
路 Fixed problem on selecting check-boxes in grid when it is in read-only mode.
路 The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

What’s new in OpenSwing 1.8.8:
路 Added SHOW_SCROLLBARS_IN_MDI global property to ClientSettings, in order to show scrollbars within MDI desktop pane.
路 Fixed problem with page number in navigator bar when fetching last block of data.
路 Fixed problem with check-box column in read only mode when clicking on it: now one click only is required to change check-box state.
路 Fixed problem with auto completition feature in lookup component.
路 Changed MDI frame default starting in Linux: now GTK look ‘n feel is replaced by Metal Look ‘n Feel.
路 The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

What’s new in OpenSwing 1.8.7:
Improved PivotTable component:
路 now it is possible to drag ‘n drop row/column/data fields directly into the PivotTable, in order to swap their position.
路 added “dataFieldRenderet” property to PivotTable component, in order to customize font, background/foreground color for data cells.
路 Added INSERT_ROWS_ON_TOP global property to ClientSettings, in order to define for all grids that new rows are added at the bottom of the grid, instead of adding them at the top.
路 Improved DateControl, DateColumn and DateTimeColumn, by adding “defaultDate” property, used to set a default date in calendar window
路 when opening it and no date has been still set.
Fixed problems in GridControl:
路 duplicate row feature now works also with “insertRowsOnTop” property set to false
路 new rows removing now correctly operates also with inner value objects
路 Applied some changes to MDI environment and graphics components, in order to support “substance” Look ‘n Feel library for Java 5.
路 Changed “demo10” in order to show how to use “substance” Look ‘n Feel library for Java 5.

What’s new in OpenSwing 1.8.5:
路 Changed About dialog content, by replacing max memory allocation with current memory allocation.
路 Improved TreeGridPanel: now column headers use ClientSettings.HEADER_HEIGHT global property as header height.
路 Added “autoFitCoumn” property to all columns, in order to auto fix column sizes, according to their text headers.
路 Added AUTO_FIT_COLUMNS global property to ClientSettings, in order to define the default value for “autoFitCoumn” property of columns.
路 The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

What’s new in OpenSwing 1.8.4:
路 Fixed a problem on selecting multiple rows in grid, using java 1.6.
路 Implemented “hideButton” property in CodLookupColumn.

Improved LinkButton component:
路 added “uri” property, in order to automatically open an URI in default browser, when clicking on the link
路 added “labelAttributeName” property, in order to bind link button to the container Form panel and automatically set label from an attribute value of the Form’s value object
路 added “tooltipAttributeName” property, in order to bind link button to the container Form panel and automatically set tooltip from an attribute value of the Form’s value object
路 added “uriAttributeName” property, in order to bind link button to the container Form panel and automatically set URI to open, from an attribute value of the Form’s value object
路 added “addLinkButton” and “removeLinkButton” methods in Form panel, in order to manage abilitation state of LinkButton, according to current Form state

路 Created new GridControl column: LinkColumn; this link type column allows to click onto the link within the cell and automatically open the specified URI.
路 Fixed problem in NavigatorBar when “showPaginationButtons” property is set to false and ClientSettings.SHOW_PAGINATION_BUTTONS_ON_NAVBAR is set to true.
路 Fixed OutOfMemoryError problem when using HibernateUtils with inner value objects.
路 Created unique toolbar on top of MDIFrame, in order to manage generic operations for grid and Form panel. Updated “Buttons” section of documentation in this web site, in order to describe unique toolbar at MDI environment level.
路 Created “demo48” sample application, to show how to use a unique toolbar in MDIFrame for all grids and Form panels.
路 The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

What’s new in OpenSwing 1.8.2:
路 Improved HibernateUtil class, in order to support sorting/filtering per attributes of inner value objects (see “demo17” sample application).
路 Improved user grid profile and columns level permissions: now settings are cached after retrieval.
路 Fixed problem in GridControl with check-box type cells, when move to edit mode directly within the check-box cell.
路 Fixed problem with TextFormattedColumn when used with numeric values in filter panel.
路 The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

What’s new in OpenSwing 1.7.7:
路 Improvements in exporting data: added GridExportCallbacks class, in order to include additional data before and after grid content and
路 after each grid’s row just exported; in this way it is possible to combine data for master grid with data of a detail grid.
路 Changed “demo10” sample application in order to show how to export master/detail grids in a single document with nested data.
路 Changed behavior of “reloadData” method in GridControl: now it reloads grid content starting from the first record in result set;
路 after that, the first record is selected.
路 Added “reloadCurrentBlockOfData” method to GridControl, in order to reload current block of in grid; after that, old selected row is selected again.
路 Improved MDI frame: add popup menu to desktop pane, in order to select custom image to use as background.
路 Improved ComboVOColumn: added “reloadItems” method, in order to reload combo content.
路 Fixed problem in attribute editor inside the UI designer, when the value object contains more than one inner v.o. of the same type.
路 Added “isChanged” method to TreePanel, in order to decide whether tree content has been changed; invoked by InternalFrame.closeFrame();
路 The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

What’s new in OpenSwing 1.7.4:
路 Improved CodLookupControl by adding “lookupButtonVisible” property, in order to optionally hide lookup button.
路 Added to ClientSettings the global property GRID_SCROLL_BLOCK_INCREMENT used to define the block increment when scrolling grid control (one row/page per time).
路 Improved HibernateUtils class by adding getBlockFromCriteria and getAllFromCriteria, in order to inherit the correct optimization to query through Criteria argument (e.g. inner join, secondary select, etc.) and apply other external filtering conditions.
路 Excluded Tutorial.swf Flash file from OpenSwing standard distribution and added it to new “OS_Tutorial.zip” distribution.
路 The distribution includes also Jar file libraries, source files, javadoc, licence and readme.txt installation instructions.

Sumber :
http://mac.softpedia.com/progChangelog/OpenSwing-Changelog-38062.html

Aug 282009
 

Buat kamu – kamu yang sedang explorasi OpenSwing dan ingin membuat Auto Create kode atau mungkin membuat auto create No Nota, mungkin tutorial ini akan membantu anda dan sedikit meberi pencerahan kepada anda.

Setelah anda membuat sebuah form add untuk transaksi anda, kasus ini biasa terjadi pada saat kita mebuat inputan transaksi penjualan yang membutuhkan ayto create no nota, ada beberapa langkah yang harus anda lakukan yang pertama adalah dengan menambahkan event geter pada form add anda, lihat gambar

Add Form

Add Form

Setelah membuat desain form di atas tulis coding di bawah ini : Continue reading »