Threading In Java -
How can I thread in java? In vb you can use application.DoEvents and that way your application doesnt freeze when its doing something. How can I do this with Java?
To make things clearer, this is what Im doing. I am simply opening a file and adding each line into a DefaultListModel and then Im setting that model to a JList. While this happens it is freezing the app, since the file is fairly large. If I use threading will this stop the application from freezing? Is there something else I can do?
I appreciate the help.
Threading In Java -
How can I thread in java? In vb you can use application.DoEvents and that way your application doesnt freeze when its doing something. How can I do this with Java?
To make things clearer, this is what Im doing. I am simply opening a file and adding each line into a DefaultListMode
Multithreading anti-patterns -
Hi.
I'm hoping you could help me with a problem i have.
I'm currently doing a project on Anti-Patterns in Multithreading (using VB.net to demonstrate this).
Basically i need to see what common problems / mistakes made (nothing too complex) in multithreading in langauges such as Jav
java vs java applet -
Hello
i have a java applicaton in mind, i am not sure if i shold go for a java stand alone application of a java applet.
can you guys tell me what prompts a user to go for a java standalone or a java applet?
How to make this work. -
When I try to run my Java program, I get this list of errors:
java.lang.NoClassDefFoundError: Examples/XL (wrong name: XL)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.security.Secu
Multi-threaded synchronisation -
Having programmed java for a couple of months now, I wanted to learn VB.NET. I thought I'd get really dug in immediately, since I know VB6 pretty well, and make a Dijkstra's philosophers program.
So, I'm gonna need multi-threading, but in preparation of coding this little bugger I re
System.Threading.Timers - Simple Example Needed -
All,
I am very new to .NET and am having some trouble getting my head around System.Threading.Timers and the online examples I have seen so far. (MSDN inc)
Would anybody be kind enough to post an example of a System.Threading.Timer?
The reason I need the Threading timer is bec
Learning java!!! -
A message was posted in this forum asking how to learn java.
Well i do know something about java but the problem is i know far less than i require.
There are so many java related technologies and i am learning java all by myself . Many people scare me that there is too much to co
PHP vs JAVA -
Hi There,
My boss decided that we would use JAVA instead of ASP in web developpement, but (I don't know java even a bit) I was wondering if JAVA could offer the same possibilities of ASP ? I always thought PHP would be the equivalent of ASP, not JAVA ? Am i wrong and what are the
Apartment Model Threading -
Hi All,
Just I want to know about single and multiple Apartment threading in detail. Then In DOTNET..how they have implemented free threading.
If any body has any article or code for each please let me know
Thanks in Advance
Satheesh
java or java 2 -
guys im sorry if this question is totally dumb but what is the difference between java and java 2?
is it the same thing except java 2 is the most recently updated or what?
cant run a simple sample, can someone help plz -
um this is a sample from my class..... I can run my own programs but not this one for some reason.
I have the bytecode, but not the source... I put it in a zip file, I'll apreciate if anyone would let me know what I'm doing wrong.
I typed "java PA2" and it gives this
Threading Problems.... -
Hi Guys,
I'm designing a Program to download Files from a Private FTP site. I'm using Threading Concept to download Multiple files simultaneously. I got a very good example of Threading from PSC. But the Problem with the Threading is that when run in the IDE it's working fin
New to Java -
Hey there, I need to learn Java and I need to know what development software I should download. I have VS6 (with J++) but I also need to look at the non-MS Java stuff. It is my understanding that the stuff from Sun is free (is that correct? as I said I am new to Java so I am not up on
run java with your project -
i want to make my project run java... i have code of a batch file to run the java
set PATH=C:\Program files\Java\jdk1.6.0_02\bin
java -Xmx512m -cp .;./jython.jar;./MySql/mysql-connector-java-3.0.08-ga-bin.jar server
someone help?
What can be done with Java -
A friend told me that Java was used for everything including creation of operating system. I don't know nothing about Java, but I itend to learn how to make Java applets. However, the most of the information I found about Java was about creating applets. Is my friend mistaken? What can
VB Vs C++ Vs JAVA -
Here's a question of the day.
I'm currently learning Visual Basic 6.0 in school, but is it really worth it? Afterall, C++ is a much better, and more powerfull programing language isn't it? After that comes Java. C++ is on top at this time, but in 2 - 3 years, isn't Java going to be at
definitions of Java terms -
Hello
if i were to explain to my manager what a java platform was
could i say the following?
Java platform consists of Java runtime environment and Java development kit
Java runtime environment consists of Java virtual machine and class libraries
Java vs .net -
I'm looking at a book right now just kinda reading on some Java syntax. I'm curious if it's even worth learning Java... .Net is surely powerful enough to handle most tasks I'm sure, right? What is it java offers that .net doesn't?
I'm sure .net has a superior way of interfacing w
Is java going out of style -
Is there a shortage of java programmers?
And if so..why? is it because java is hard too learn?
or is java being taken out?
One reason whi i ask is because i dont see half as many posts here than i do in vb or c++.
Java, etc -
Hi all.
Can anyone give me a brief run-down on the differences between Java, Jscript, J++, Java Beans, Java Applets?
How are these languages/applications related to each other and how are they different from each other?
Thanks.
Thread and Timer control -
Can I say: "As Threading is to Java. Timer control is to VB"?
Thread in java allows the program to run different methods at different
instances based on the program at varied instance of time.
The same is to Timer control.
Am I right?!
Using VB COM objects in Java -
Does anyone know of a way or a utility that allows VB6 COM objects (like an ActiveX DLL) to be used from a Java app?
I'm developing a stand-alone utility that supports a fairly large Java application. I figured I'd put all of the functionality into a DLL, and then just add a simple
Newbie Question. -
What is the difference between Java and C/C++.
I know a Little C. Is Java going to be the same as C. Reason why im asking is because Im going to be taking a Java Class soon and If I learn Java well, will I easily be able to finish up learning C/C++? What is the comparison?
Thank
Java and .NET [Very Serious] -
I am looking for serious responses so if you're looking for pun please find other threads.
I work for a large consulting company and I consider myself pretty senior in .NET. I am well familiar with OOP languages.
Lately, All we seem to be getting are Java projects. What I do not
How to launch java application -
I have a java file(hello.java). Then i used javac hello.java to compile it to bytecode. Everytime i must use java hello to run this application. I want to know how can i run it like other windows application by double click it.
Newbie wants to know.... -
Hi,
I know c and c++ fair enough. I would like to lean java.
Actually I have visual studio except java. So I downloaded sun java jdk from sun. but does not work to me properly, It might have been my mistake.
Can anyone please expalin me what I should do to write my first progr
A Question About Java Development -
I am sitting here at my computer reading my Java book because today I decided to move to learning some Java development. I have a question regarding the transition from Visual Basic (6.0 Not .NET) to Java.
Are there any good Visual IDEs that use the Java Development Kit? Because I d
VB-Like Java Solution -
Hi, I'm used to programming in VB, PHP, and even perl. But Java is too much for me to understand. Is there an easy ide or possibly some ide that I can write in a different language that is simpler and it compile into java code or compiled java?
Any help would be much appreciated.
Why disable Java/Java-script -
Hi,
I am unsure where to post this because I am not asking for code but it might have something to do with how the code works. What I am wondering is if Java or Java-script is so useful for client side functions on websites, why do all the browsers allow the users to disable Java/J
Which compiler do I download -
Hello everyone, i'm new to Java and i'm alittle confused on some issues. For instance, I want to get the feel for programming in java before my next semester class, which is Object Oriented Design using java. But when i got to sun's website I see compilers for J2EE 1.4 SDK, and its t
Security with applet -
I got that message :
java.security.AccessControlException: access denied (java.io.FilePermission d:\temp\classe1.java read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
at java.security.AccessController.checkPermission(AccessController
problem running java program -
i can run my java program if the .class(which is the main) is in the bin directory of java. I just type:
java myprogram
but how do I run that same .class file if its in c:\myJavaProgram folder
by the way, when I compiled the .java file, I had to use a .jar file, basically this
Question to experienced java developer -
Hi all
Could anyone please tell me the topics needed to be a core java developer.
1. JAVA OO
2. DESIGN PATTERN
3. JAVA NIO
4. THREADS
5. SWING , AWT, EVENT , LISTENER ETC.
WHAT ELSE IS REMAINED. is there anything else which is PRACTICALLY required to be a expert core java
Create VB and JAVA exe -
Hey I was wondering if someone could link me or explain to me how to create an exe? It is a vb client that will end up calling a java class (in which that java class calls mutliple)..
I have the vb exe but when I try and use the button to launch the java program it obviously does
Any real life example of multi-threading -
Can anybody tell me some real life examples where multi-threading can be useful - ie. should be used for better performance ? It will be more beneficial for me if you can explain how multi-threading can be useful in data processing applications.
Thanks in advance. :-)
java MIDP -
hi there,
ive always been programing in c++ and im really new to java, but i bought a nokia 7650 with java support, and i wont to start java programing for it. if anyone can recommend me newbie tutorials for java MIDP programing i would thanks.
ps: sorry the bad english
Java on Fedora 8 -
Hi there,
I dont know anything about java and have few questions, if someone can help please:
Q1) i would like to learn java, and found some tutorial online....and sample program too, what applications do i needs to install on fedora 8 to run, compile and execute the java code.
Java for Mozilla -
I do have the Java runtime (whatever the **** they call it) for IE. I was under the impression that when I run Mozilla, the same Java runtime would be 'working', which meant that I could immediately access java based chat, etc.
Why must I download the same Java runtime again?
Threading Issue. -
I have an app that uses an Active X Dll. The main app calls a function in the DLL. Is there a way in VB 6 to get the main app to call the function in the dll, but still be able to peform it's own processes while the dll is doing the ones it is told to do. I know this is multi-threading
How to use Threading and Webservices -
Hey I know how to use threading, but I don't know how it should be used with client for a WebService, if anyone has a good link to a tutorial which explains it would be great.