Nice news, Tk-UI provide an implementation of CSS in Java for Swing and SWT. This is a nice news. It can make easiest for making great interfaces.
An example :
And you can find more information here.
Java and php expert
Nice news, Tk-UI provide an implementation of CSS in Java for Swing and SWT. This is a nice news. It can make easiest for making great interfaces.
An example :
And you can find more information here.
The main problem with JDialog is that it is not appear by default in taskbar. (You know it is where application are at the bottom on your screen, near the Start menu.) Further more I like my JDialog also got a identified icon.
The first time I search for resolving this two problems, I found one solution for each problem but they don’t work together. After a few tries, I found the best way to do it.
This is my JDialog’s constructor :
public MasterPasswordForm() { super(null,ModalityType.TOOLKIT_MODAL); setIconImage(new ImageIcon( getClass().getResource("/images/icon.gif") ).getImage()); setLocationRelativeTo(null); initialize(); jDialog = this; }
The call to super’s contructor make application appear in taskbar.
The setIconImage’s function do for my icon !
The setLocationRelative to null it is for centering my Jdialog !
And this is a perfect integrated JDialog !
This tips is easy to find nevermind I post it to have a note about it.
For example in a JDialog or JFrame constructor :
this.setLocationRelativeTo(null);
Easy isn’it ?
Today, I was thinking about a software which allowing you to update every social website by only one used.
A simple form with a button and two texts inputs : One for a message and one for an URL.
The user enter it message and click on the button then Twitter, Gtalk status, MySpace status, Facebook are updated with this messages. And if user enter an URL then it is submited to del.icio.us or digg….
It seems a good idea, but I don’t know if a lot of people will be interested. My last experience with my jabber twitter bridge let me think that people doesn’t seem to like this sort of software.
So my question is how to get more people using my software. I think I must find the idea. The software which will be interesting for more than 4 persons.
Furthermore, if you got any idea let me a comment.
I don’t know why but I need at least 4 or 5 hour just for creating a simple Form. I don’t know if I am using wrong tools but it is a little… embarassing to need so many time for making interface.
According me, It coul be link to Swing’s philosophy. I think now language must be more like HTML like. It is enought simple to make interface as fast as the wind, and got enought options to be more configurable.
Perhaps making html interface for application is a better idea ? I don’t know but I need to find a way to be better in interface development because next form would be complicated.
So the good news, it is that now user car change Social Bridge’s preferences with a form and save it….
Next step would be to allow user to create new treatment….
get latest updates on site news and site post