|
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
|
|
|
|
|
Hi,could you please tell me what is the meaning of Java Servlet programming?is it like web service in .Net
What is J2SE?
thx
|
|
|
|
|
J2SE is Jave v2 Standard Edition. This is the 'base' Java environment.
Servlets are part of J2EE - Jave v2 Enterprise Edition - and, simply put, are small components used in building large scale systems. Here[^]'s a taster of how Servlets work.
Panic, Chaos, Destruction.
My work here is done.
or "Drink. Get drunk. Fall over." - P O'H
|
|
|
|
|
hi..
Java Servlet Programming is something and J2SE is something.
Both are different.
J2SE is Java 2 standard addition.
and Servlet Programming is rise of server-side Java applications.and Servlet run on server side
Servlets are supported through the Servlet API, an extension to the Java programming language.
|
|
|
|
|
Hello guys,
I have been working on dynamic construction of object by using reflection (Java 6 SE platform). I have noticed for example that there is a method:
Class.getConstructor(Calss<?>[]) You pass the argument Class objects to this method and it gives you the corresponding constructor back. This works fine in most cases. But it has one problem. It dos not support autoboxing.
For example if the constructor of my class takes an int parameter and and i ask the Class object for this class for the constructor like this: Class.getConstrucort(new Class[]{Integer.class}) i will get the NoSuchMethodException indicating that there is no matching constructor. If i match the constructor argument in the class definition exactly to the parameter type given to the getCosntructor() method then i will have no problem.
Did anyone had any similar problems?
If any one has a solution or a workaround for this, i would need an advice.
Cheers
|
|
|
|
|
Autoboxing involves "silently" swapping between primitives and reference objects. Integer.class and int.class are both instances of type Class, in other words they are both reference types, so no autoboxing is involved. The compiler has no knowledge that these two different references can be treated as interchangeable in this particular case.
In the call to getConstructor, specify either int.class or Integer.TYPE instead of Integer.class. That will work.
|
|
|
|