Please let me now how can I set value and text to compbobox
so that I can attach empid and empname both to single combobox, where I want display to empname and on selection I want to fetch other details of emp on empid where empid is FKEY in details datatable.
It is possible in VB by setting value and text, how it possible Java pls anybody have idea pls help me
I tried, but i am unable to understand. Please mail me the description. I mean i understand these classes but am not able to pinpoint the precise difference. Like in private constructor class object can be created using some static method but it is not possible in a abstract class. Likewise for the other case. So please provide me ur expertise. I am desperate for the answer.
I don't have anything to mail to you. This information is all available in any of the many Java study guides and online tutorials, which is all that I could offer to provide for you. I'm sorry if you find it difficult to understand but it is most unlikely that I could provide a better explanation than the many professional authors that write on the subject.
Bookmark that page, it's the one source everyone should know.
The keyword "final" describes, that something is not to be changed. So one can define code that would not be changed. Good example are member variables for Screen solution or basic height/length values or also dialog titles.
A private constructor can not be seen from outside the class. It's private as the word private describes
Sometimes one wants to prohibit the use of the 0-args-constructor, which is there even if it's not explicit defined. That would be a classic use for a private constructor, where I make that one unseen by defining it "private".
An abstract class is an abstract description of something, has basic definition, but does not make the complete scope. Example: Animal. Could be anything and none. Can not be used as itself, needs to be extended to make it something.
Hi guys i get code named Txmodem,that sends sms and i'd like to add that code to a previous code made by someone else, using a MVC model,and makes it work like actionlistener, so that the USER just press button to send...but IT GENERATE ERROR when i add this field on previous code..(Note:it works cause i received sms on my phone)
Hi guys, Please tell me is it possible to link java with C# if so then pls tell me how to link C# code to java. Its very urgent for me pls reply as soon as possible. We are working on netbeans so pls let me know how to combine java and C# in netbeans to execute the code.
Thanks in advance.
You can't; at least, not easily - see How to wrap a C# library for use in Java[^]. Java runs in the Java Virtual Machine under Windows, and C# runs in the .NET framework, which are two distinct and separate environments.