|
so you're roaming on the Java boards now ?!
|
|
|
|
|
you know, its a slow, slow friday...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hi there!
Please, somebody can tell me where can I find to download the CD-ROM that accompanies the book "Java Design Patterns: A Tutorial" by James W. Cooper?
Or can somebody share it?
Thank you in advance.
[Adrián Córdoba]
|
|
|
|
|
Usually you may find such CD inside the book.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Yeah, I know. But my CD-ROM is damaged.
[Adrián Córdoba]
|
|
|
|
|
aecordoba wrote: Yeah, I know. But my CD-ROM is damaged.
Then kindly ask the publisher for its replacement .
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
I have a JFrame which i extend and set undecorated.
I have made my own resizing of the frame possible with mouse down, up and pressed
events etc...
On my paint event I wish to draw my own custom imagery for the form with an offscreen image
and finally draw it to screen. Any swing component I put on the JFrame flickers on each
repaint when I resize... if anyone has any answers to this I would be most thankful...
so thanx in advance!
javdax
There Are 10 Kinds Of People,
Those That Understand Binary,
And Those That Don't
|
|
|
|
|
Hi All,
I am a .net developer , i need small help in Java Runtime Enviroment. We are working on a web based Application (Asp.net ) which used some Applet . Now This Applet Running only on JRE 1.5 not in JRE 1.6.
If Client System has JRE 1.6 Install Applet is not ruuning, if 1.5 installed , its working fine. now main problem is when Both are instaled i want our applet will run by JRE 1.5 not with 1.6 , but its takes latest 1.6 .
Please help me out as i dont have much idea on java !!!
|
|
|
|
|
firstly, it's really strange that the applet doesn't work with a JRE 1.6, which is supposed to be retrocompatible.
BTW, if both JREs are installed, the application will point to what is in the environment variable JAVA_HOME ...
|
|
|
|
|
toxcct wrote: applet doesn't work with a JRE 1.6
We are working on PKCS and some ikey token. we have used 1.5 to developed java code for pkcs but in 1.6 argumets are different and there is no oveloaded methods for that . we are also shocked.....
but we need to run it on jre 1.5 or we need to build on 1.6 .
please help !!!
|
|
|
|
|
Hi, there!
I'm learning to program with Java and I'd like to begin to read about design patterns applied to Java.
I tried to read "The design patterns - Java Companion" (by James W. Cooper), but I think it's a little advanced for me.
Somebody can tell me where do I find reading matter about design patterns?
Thank you in advance.
[Adrián Córdoba]
|
|
|
|
|
It's amazing what you can find ("design patterns java") on GOOGLE!!
http://www.fluffycat.com/Java-Design-Patterns
John P.
|
|
|
|
|
Notice the comments. What's wrong here?
import java.lang.*;
import java.lang.Math.*;
public class Exponent
{
public static void main(String[] args)
{
int iBase = 10;
int iExponent = 2;
double dCubed = Math.pow ( iBase, iExponent);
System.out.println( dCubed );
int iResult = iBase ^ iExponent;
System.out.println( iResult );
}
Everything makes sense in someone's mind
|
|
|
|
|
In Java, the ' ^ ' is a bitwise operator, not a power operator!
John P.
|
|
|
|
|
Which does exactly what?
Everything makes sense in someone's mind
|
|
|
|
|
Gosh, all I did was go to "java.sun.com" --- all the answers are RIGHT THERE!
Here! I did it for you:
The bitwise ^ operator performs a bitwise exclusive OR operation.
So 10 = 1010
2 = 0010
Exclusive OR = 1000 = decimal 8!
John P.
modified on Wednesday, August 20, 2008 3:58 PM
|
|
|
|
|
I looked it up too. I don't understand what 'bitwise' means.
It it was so much trouble for you, why bother responding at all?
Everything makes sense in someone's mind
|
|
|
|
|
KMAROIS wrote: It it was so much trouble for you, why bother responding at all?
if it's too much for you to 1) search the web, 2) read the docs, and 3) try to understand a wise answer you got, why bothering asking ?
bitwise operators are operators operating directly on the bits rather than full bytes.
so, as the other guy was saying, the ^ operator is the XOR (exclusive OR) bitwise operator.
10 = 1010
2 = 0010
----------
^ 1000 -> 8
|
|
|
|
|
Hallo, I have a little problem.
I need to read an XMI file generated by a CAD software and convert the model saved in a specific language thatmy team has developed.
I the book "Mastering XMI..." I saw that with com.ibm.xmi.job package you can retrive objects from XMI simply calling a function to read that returns a list of objects. On the internet I saw that IBM doesn't continue the developement of this package and I can't find it to download. IBM refers to EMF, but I can't find a simple tutorial to simply open XMI file and retrive objects.
Can you tell me how can I do this?
Thank you very much...
|
|
|
|
|
_Comet_Keeper_ wrote: IBM refers to EMF, but I can't find a simple tutorial to simply open XMI file and retrive objects.
Take a look at the samples in this article[^]
led mike
|
|
|
|
|
Hi , I'm an electronic man with 5+ years experience and I have some knowledge of C and C++ I have written quite big projects with C++ for windows(multi thread, kernel programming,...) and also in C I have written many programs for different microcontrollers. My knowledge about Java and .Net is zilch. Now I feel the need to learn a new language that just like C can be both helpful in firmware development and also in software development. I have heard that Java is platform independent and can be run on any device using a virtual machine and I've heard microsoft has tried to copycat Java and ended up to something that it calls it .Net So I want to learn something that 5 years later I do not regret wasting time to learn it. I do not want to learn something that is living its last days. as I said one of my main purposes is to be able to program new fast big microcontrollers they can run Linux programs, Java Programs and make people doubt if they need desktop computers anymore.
now please put your Java patriotism aside and give me a piece of professional advice that with regard to my experiments in C and my need to program new emerging embedded devices what will be the best choice to learn Java, Linux, .Net, C# or something else... It will be appreciated if you can give some solid rock reasons about your recommendation.
Thanks
|
|
|
|
|
maybe you'd want to read this[^] thread ?!
I've already argued on the matter, and this site is mainly populated with microsofties, so it's hard to make a voice for java out there... but feel free to argue if you want to.
|
|
|
|
|
Oh!
Sorry I had to search before posting
Your posts in that thread was informative, thank you.
I had no doubt that Java is a great Language, millions of people use Java applications in their mobile and other embedded stuff.
As a matter of fact speed and power of microcontroller are increasing so fast that many of them can run OS and big applications, for example a microcontroller that I'm playing with it for awhile(ARM9) has 200 MIPS power @ 200MHz @ 32bit. dose anybody remember 80286@16Mhz running Windows 3.1
Now there are two thing that I seriously considering as my next learning project
1- Linux
2- Java
many embedded devices can run small versions of linux, its programming shouldn't be very different from C++ in fact there is C++ for linux I only have to become familiar with this OS and APIs
about Java I honestly have no idea how hard would be to develop a big graphical program comparing it to development time in C++.
regards,
|
|
|
|
|
Java is standard language .... runs on any platform therefore its code is same for windows, linux, mac, etc.
This is the best feature of Java.
so if u wanna java u learn java i dont think there is downside for it else its first time compilations for its code
BlaCk WolViX
|
|
|
|