John Losty wrote:This is what I came up so far:...
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
We don't supply answers;
John Losty wrote:Where can I get complete answer?
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
But even there you might get snippy replies if they think you simply want someone else to do your work for you.
John Losty wrote:I don't want nobody to do the work for me, I just want to learn as quickly as possible how to do this (kind of) GUI program.
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
John Losty wrote:The problem is I know how to make simple gui programs but this one is a bit more complex.
I don't have an idea how to create this gui. First I thouhgt I could create 3 Jpanels(FlowLayout arrangement) and that each has a grid layout with 2 x 1 elements inside. But it seems that doesn't work as you see in my example?
If you know tell me a pseduo code agorithm?
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
All things are lawful, but not all things are profitable.
There are three kinds of actuaries: those who can count, and those who can't.
First of all: a very easy way is to use a GUI builder, that
comes with every IDE.
I use 10 objects, of which 8 are dummy invisible JLabels.
This is to give the other panels some guiding as to where
their components should come.
John Losty wrote:I read that: every IDE creates different code so if you want
IDE independent code this is the best way.
Doesn't this kind of technique use a lot of resources ?
What about my question about look-and-feel?
There are three kinds of actuaries: those who can count, and those who can't.
If you decided on some L&F, say 'nimbus', this is how you could
set it:
There are three kinds of actuaries: those who can count, and those who can't.
There are three kinds of actuaries: those who can count, and those who can't.
Specifying the Look and Feel: swing.properties File
Yet another way to specify the current L&F is to use the swing.properties file to set the swing.defaultlaf property. This file, which you may need to create, is located in the lib directory of Sun's Java release (other vendors of Java may use a different location). For example, if you're using the Java interpreter in javaHomeDirectory\bin, then the swing.properties file (if it exists) is in javaHomeDirectory\lib. Here is an example of the contents of a swing.properties file:
# Swing properties
swing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel
There are three kinds of actuaries: those who can count, and those who can't.