|
It may be the first alphabetically but it was not the first in the language. It wasn't added to Java until release 1.2. Prior to that we just had Victor the Vector.
|
|
|
|
|
I stand corrected. While I have been using Java quite a lot, almost from its start, I don't remember not having ArrayList...
|
|
|
|
|
The java.util collections classes were Joshua Blosch's work, before he left Sun and made lots of money writing books.
Sadly, I have been using Java since the 1.1 days (longer than I care to remember), and I remember the new collection classes being added, and Vector being retro-fitted with the "new" List interface. That's why we have Hashtable and HashMap as well. Hashtable has been there since 1.0, HashMap is one of the 1.2 generation of collection classes.
|
|
|
|
|
I really must learn to read properly.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
Oh don't do that Richard! Have another GnT, take a deep breath and carry on as before.
Panic, Chaos, Destruction.
My work here is done.
or "Drink. Get drunk. Fall over." - P O'H
|
|
|
|
|
Nagy Vilmos wrote: Have another GnT
Don't mind if I do; Cheers!
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
Hi,I want to implement Table control with GEF.Does anybody have examples like that?
Any suggestion will be appreciate.
modified on Monday, September 27, 2010 8:02 AM
|
|
|
|
|
hello i have almost completed my project in java and i want to know is there any way possible to refresh table component or other values residing on mainFrame form of application on closing a separate frame/window/dialog (not child)
--------------------------------------
The same i want with jpanels showing within tabs but thats an issue of less priority
Alok sharma
|
|
|
|
|
|
Hello,
when I create new project in Java desktop application. a for Automatically create. now, I add another jframeform. my question is how to make the new form as default. i wanna after running project my form show up.
|
|
|
|
|
How are you creating this application? Java does not automatically show anything as a default when a Swing application starts up, so my guess is you must be using some toolkit or framework to do this?
|
|
|
|
|
hi, I read a few article regarding java fx and all said it use to have better GUI.is that true?
in this case, if i use java fx, the syntax and all ohter things is the same? what is the main advantages of using java fx?
if i wana develope desktop application do I have to use java fx?
|
|
|
|
|
This is quite a controversial topic, and is the subject of much debate in the Java community. If you search on Google for something like "javafx versus swing" you will find lots and lots of opinions.
To answer your specific questions:
JavaFX uses a different syntax from Swing, and has its own language, JavaFX Script, which is not Java. However, you can use JavaFX with Java.
There are three main advantages to using JavaFX, as I understand it. First, JavaFX has better support for animations and media such as video and audio. Second, JavaFX has a similar idea to WPF in as much as it separates the visual design from the code, the idea being that the application can be built by a specialist programmer, and the look and feel can be put together by a specialist graphic designer. (The technical implementation is different from WPF, though.) Third, JavaFX offers better support for mobile platforms than Swing does.
Disadvantages: mainly that JavaFX isn't fully ready yet. It is still lacking some basic components you might need for writing desktop applications, such as a table component. It is still evolving and just this week Oracle announced that JavaFX Script will not be supported in the next version of JavaFX.
If you want to develop a desktop application, you don't have to use JavaFX but you can if you want to, if it suits your requirements. Personally, I wouldn't use it because Swing gives me everything I need for the kind of applications I build, but if I had a requirement that Swing couldn't meet, I might consider JavaFX. For example, if someone wanted me to write something with JavaME I would look at maybe using JavaFX, or at least weigh it up against LWUIT (another toolkit for Java GUIs on mobile phones).
More here:
http://javafx.com/faq/[^]
|
|
|
|
|
I need a help to develop an application in JavaFx 2.2. I'm trying to learn it through official site. But it is not enough for me and I need help.
Could you please help me?
|
|
|
|
|
Hi,
I have a store which has different sort of stuff like table,chair, rug etc. I define a class for public characteristics like name, color, size etc. id addition public features, if each item has particular characteristic do I have to implement inheritance? for example each item come up with different price in different month?
thanks for your help,in advance.
|
|
|
|
|
yes, you could (and should) take advantage of inheritance in such a situation: put the data members and code methods that are common to all kinds into a common base class, then "specialize" the things you need by creating new classes that inherit from said base class.
Most text books have an Animal,Cat&Dog example (or something similar) illustrating the concept.
|
|
|
|
|
in C# we have a DataObjectFieldAttribute(True, True, True); is there any command like this in Java?
Please help.
|
|
|
|
|
Hello
I have installed Netbeans6.9 in my Pc and practicing Java. In order to develop Ntier application I need to create different folders. the problem is when I right click on the Node on my project I can't see any option concerning NewFolder. Do you have any idea,please???????????????????????????????????
|
|
|
|
|
Too many qustion marks.
But as I'm in a good mood:
If all you want is a folder then
New -> Other...
Catagory: Other
Fiel Type: Folder
If you want to add a folder for a package, just add class and enter the package name, netbeans will sort out the structure foir you.
Panic, Chaos, Destruction.
My work here is done.
or "Drink. Get drunk. Fall over." - P O'H
|
|
|
|
|
I am doing my B.E project and i need help. My project is Advance Visual Components for JAVA using language java. In this project, we are developing 3rd party components using netbeans or any other java developer tool. This components helps in rapid development of application or java. For example, a component in which all the validation of the mobile number will be present. The developer just have to Drag and Drop this component in the developer kit while programming. Like this, we are going to develop more components. I hope you have understood my project.
And the main thing is this components must be integrated with any java developer kit such as netbeans.
Thanks and i look forward to positive help from you.
|
|
|
|
|
Bharat02 wrote: Thanks and i look forward to positive help from you.
I'm positive that there is a question in there somewhere, but I cannot see it.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
Please read the posting guidelines here[^], especially the point 2.
|
|
|
|
|
Here's the outline, just fill in the details specific for your app:
package NeedsCode;
public class Main {
public static void main(String[] args) {
throw new UnsupportedOperationException(
"The program code needs to be implemented.");
}
}
Panic, Chaos, Destruction.
My work here is done.
or "Drink. Get drunk. Fall over." - P O'H
|
|
|
|
|
Interesting. Looking at the source comments I can see that you have ported code that needs to be implemented in C# to become code that needs to be implemented in Java.
|
|
|
|
|
I was thinking about writing an article about it.
Panic, Chaos, Destruction.
My work here is done.
or "Drink. Get drunk. Fall over." - P O'H
|
|
|
|