|
So this is were they've been hiding all the VB.NET posts, in the Java forum, I should have known.
|
|
|
|
|
How can I change the SelectionMode property of any ListBox at Run Time(Dynamically) using JAVASCRIPT code ?
Like in C# code....as bellow..
listBox1.SelectionMode = ListSelectionMode.Multiple ;
How can I write above code in javaascript ?
Please Suggest me.....
|
|
|
|
|
you have to set the multiple attribute for select.
var myListBox = document.getElementById('your-listbox-id');
myListBox.multiple = "multiple";
|
|
|
|
|
What makes you think you can write code?
Don't let my name fool you. That's my job.
|
|
|
|
|
Hi there,
could the package javax.sip helps in an application that is supposed to send register and invite messages (sip message) to a specific server , the server is an asterisk PBX, instead of using the java asterisk,
in other words: part of the application is supposed to talk to the asterisk , and I want to do it via the javax.sip, as the application already contains sip functionalities,
any help please, tutorials, links that teach about sip programming using javax.sip code samples, main classes that I might use
thanks in advance
There is always something to learn
|
|
|
|
|
Hi everyone!
I'm working on a project and i need to do what follows:
i have an array of strings,example:
house3
house2
green23
green.5
H6
H01
G19
G78
..and so on.
I have to extract only the recurrent strings: house,green,H,G.
Any idea about it? (the language is java but doesn't matter, i just need the idea!)
Thanks in advance,
Enrico.
Program your life ^^
|
|
|
|
|
I recommend Assembly. You could go with machine code if you needed more control, but I find it takes a lot of time lining up the 1s and 0s properly.
Do you know what a loop is?
Don't let my name fool you. That's my job.
|
|
|
|
|
Does JavaScript allow you to access a text file from your hard drive and view the contents in a textbox?
Thank you!!!
|
|
|
|
|
|
Hi there,
I use implement some dll using java-native-interface (JNI) and try to call the JNI function from a java application. In java run-time environment (JRE) 1.6, the program works fine; while in JRE 1.5, the program will crash and return EXCEPTION_STACK_OVERFLOW in the eclipse debug console window.
Now that, the customer is using JRE 1.5 and not willing to update to JRE 1.6. What can I do to make it work in JRE 1.5?
Thanks a lot!
|
|
|
|
|
The best answer we can give is fix the stack overflow problem.
Don't let my name fool you. That's my job.
|
|
|
|
|
I have figured out how to fix this.
Yes, it is a stack overflow issue. But the problem is not in my code. It is because JRE 1.5 limit the default stack size to a small amount.
Java pre-allocate stack for native library. In JRE1.5, the default stack size is 128k. To make an application run with bigger call stacks, one needs to use the native stack option (-ss) when executing a class or jar file.
I make my application work in JRE1.5 by using the following command:
java -ss1024k myclass
|
|
|
|
|
hi guys,
i been working on RCP plugin application.I would like to know how do i associate a checkbox and an event handler so that when i click the checkbox, it should erase the existing table view and load another one with a different algorithm behind it.
Kindly help me plz.Thanks a lot.
Regards,
Thilek
|
|
|
|
|
hi
i need to write a simulation program for a x number of a device. the real device has an SNMP agent on it which i need to simulate.
ive looked into snmp4j and the javax.management lib for snmp but i'm struggling to create anything close to what i need. As far as i can work out i need to set up an SNMP server with a custom mib to respond with the the data for my simulated device. however trying to immpliment this is proving to be a headache.
can any one help with the snmp server or custom MIB?
thanks
j
modified on Thursday, February 5, 2009 5:51 AM
|
|
|
|
|
Hi! I have some questions concerning mobile phones. When I build a simple project like "Hello World" and upload it on a mobile phone, will it display "Hello World" when I run it? The other question is how can I make the mobile phone's camera flash light (the phone is Nokia N95) and become a torch? (in Google all that came up when I searched for the torch was how to make the screen white)
Still learning...
|
|
|
|
|
You can do all of these things and more with Java, but the secret is you can only do them after you learn to program a bit!
But, yes, all of them are possible. I didn't see a question that doesn't involve coding applications for you in there though..
|
|
|
|
|
You might want to Google on "flashlight" instead. Good luck.
Don't let my name fool you. That's my job.
|
|
|
|
|
i am new in programming, i want to know ,how is java, is it very difficult than c# & C++?what is her ranking..how much is it difficult?
, what is client side language & databases for java?
& what is her technology like asp.net for c# for web based ?
thanking you
|
|
|
|
|
If you are familiar with C and C++ and understand "objects", it is no more difficult than C++, maybe a bit easier. I suggest you go to "http://java.sun.com" and see the wealth of information available.
AF Pilot
|
|
|
|
|
java is very difficult means complex to implemnet. to stwick from c++ lanuage to java many diffculties. in c++ inteface are easy to implemnet but in java diffcutl to select your layout
|
|
|
|
|
You're entitled to your opinion. Maybe it's just me, but I found Java much easier than C++. If you read the book "Core Java, Vol I (or Vol II)" I think it is explained better than any other software language book I've ever read.
AF Pilot
|
|
|
|
|
event handling in JAVA graphics using JAVA swing, AWT
|
|
|
|
|
hmm ok i tell u..........
|
|
|
|
|
If you have trouble moving from C++ to Java, then you didn't use C++ correctly.
If you are learning either one for the first time, Java is about 2x easier.
Very recent Java has introduced generics, which is a massive headache. But guess what? C++ already had them, and they aren't any easier there.
And "to select your layout"? If you are talking about GUI design, that depends entirely on what you are doing and what tools you are using.
If you are using Eclipse, you may have trouble designing GUIs. NetBeans IDE does them every bit as easily as MS Visual Studio does C++ GUIs.
Personally, using SpringLayout, I can code GUIs by hand in Java and they are a lot simpler to read.
Don't let my name fool you. That's my job.
|
|
|
|
|
i have the problem in inserting data's into the mysql database automatically daily 8'A.M hot to handle by java program ? once java program is executed automaitcally also add data's to my database.
eg. i having file d:\conten\ some *.wmv and database name is cod.sql,once i run the java program *.wmv files are store to the cod.sql .
|
|
|
|