{ xtype: 'combo', fieldLabel: "Type Of Alert", store: new Ext.data.SimpleStore({ fields: ['type', 'I18n'], data : [ ["POACK", "Purchase Order Ack"] ] }), valueField: 'type', displayField:'I18n', typeAhead: true, mode: 'local', forceSelection: true, triggerAction: 'all', selectOnFocus:true }
Monday, November 29, 2010
ExtJS -=- Combo with SimpleStore
Wednesday, November 17, 2010
Java -=-Increase heap size
If Java runs out of memory, the following error occurs:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap spaceThis can have two reasons:
- Your Java application has a memory leak. There are tools like YourKit Java Profiler that help you to identify such leaks.
- Your Java application really needs a lot of memory (more than 128 MB by default!). In this case the Java heap size can be increased using the following runtime parameters:
java -XmsDefaults are:-Xmx
java -Xms32m -Xmx128mYou can set this either in the Java Control Panel or on the command line, depending on the environment you run your application.
Monday, November 15, 2010
Really Cool Sketching and Prototyping tool
Hi!
I discover a really good sketching tool. The tool is free and run as a Firefox plugin. The tools is complete and easy to use. It's a must see!
http://pencil.evolus.vn/en-US/Home.aspx
Yann
I discover a really good sketching tool. The tool is free and run as a Firefox plugin. The tools is complete and easy to use. It's a must see!
http://pencil.evolus.vn/en-US/Home.aspx
Yann
Java -=- Parsing a Date Using a Custom Format
DateFormat formatter = new SimpleDateFormat("MM/dd/yy"); Date date = (Date)formatter.parse("01/29/02");
Subscribe to:
Posts
(Atom)