jQuery UI styled text input box

There’s nothing to stop you from doing $(“input”).button()… I like this: $(‘input:text, input:password’) .button() .css({ ‘font’ : ‘inherit’, ‘color’ : ‘inherit’, ‘text-align’ : ‘left’, ‘outline’ : ‘none’, ‘cursor’ : ‘text’ }); A fuller example.

JTable Right Align Header

Here’s an alternate approach to modifying the TableCellRenderer of a table’s JTableHeader. It’s not strictly necessary for this usage, but it minimizes the impact on the UI delegate’s appearance. Typical usage: JTable table = new JTable(…); JTableHeader header = table.getTableHeader(); header.setDefaultRenderer(new HeaderRenderer(table)); Custom header renderer: private static class HeaderRenderer implements TableCellRenderer { DefaultTableCellRenderer renderer; public … Read more

WPF ListBox with a ListBox – UI Virtualization and Scrolling

It is possible to achieve smooth scrolling VirtualizingStackPanels in WPF 4.0 without sacrificing virtualization if you’re prepared to use reflection to access private functionality of the VirtualizingStackPanel. All you have to do is set the private IsPixelBased property of the VirtualizingStackPanel to true. Note that in .Net 4.5 there’s no need for this hack as … Read more

Is Java the best language to develop cross-platform GUI applications? [closed]

I strongly recommend Java for cross-platform GUI development. In particular, I recommend the GUI builder that comes with the Netbeans IDE. It’s very simple and very powerful. You can point and click and drag and drop to create a GUI, and easily customize the actions which various buttons and other components take. I much prefer … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)