Wim Vanni

Ranch Hand
+ Follow
since Apr 06, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Wim Vanni

You 'installed' .. What steps did you take to install these?

And, for an alternative, JavaZoom's MP3SPI.

(I have no experience with either.)

Wim
13 years ago
Java operators

Read the above article and pay particular attention to the right to left evaluation. It should make things clearer.

Cheers,
Wim
13 years ago
Try using the keywords 'java profiler' (or profiling).

Wim
13 years ago
I've found this article that should help you achieve your goal of outputting unicode characters.

Code from this article:


Cheers,
Wim
13 years ago
Never start by saying your question is an idiots question. Idiots, in their own weird conception of the world, ask the most logic questions you can encounter.

Next, I don't know why you make that assumption in the beginning of your post. Whether you have or have not installed the JRE and JDK is information that does not help in answering your questions.

Finally: I find it very strange that you are desperate and confused about those questions. Any article or book that is an introduction to Java covers the JVM mechanism that is so fundamental to Java. And aside a global understanding of what it does I never questioned the details of how a 'Hello World' main method outputs text to the console. Or how Swing objects show up as GUI-elements in my Windows or my neighbours Linux machine.

Maybe I'm just one of those guys who doesn't care how a car engine works as long as the car gets me from A to B.

Cheers,
Wim
13 years ago
Welcome to the Ranch!

Have you looked into any library yourself? In most cases a simple Google search will turn up many hits if you specify good keywords to search for ..

Cheers,
Wim
13 years ago
This tutorial should get you started.

Cheers,
Wim
13 years ago
No problem here.
13 years ago
Could this be of help?

Cheers,
Wim
13 years ago
Strategy and/or template pattern come to mind when I read this.

But I agree that you should make sure about the value you'd get from redesigning this system. If it's a new 'calculator' every day then I'm sure you can get whoever it is that decides to at least consider something more flexible. If it's a new one every year ... (or any other period of time that is considered 'long'

Cheers,
Wim
13 years ago
Glad to see that worked for you. And thanks in return for providing some details and code snippets of the implementation. Great for reference.

Cheers,
Wim
13 years ago
I think there are many arguments in favor of one or the other (see for example here) but I do agree that an XSLT transformation seems a logical solution.

Cheers,
Wim
13 years ago
I would go for additional XSLT step(s) to go from XML 1.2 to 1.1 or vice versa.

Wim
13 years ago
Was it on this forum that I compared it to cooking? Being a real chef is about knowing the ingredients and how to combine them. I'll let you work out the rest of the allegory ..

*Tries an impression of the Swedish chef*

Wim
13 years ago