David Chippington

Greenhorn
+ Follow
since Apr 17, 2000
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by David Chippington

Partha,
I think you may have missed the point of what I was saying.
The behaviour is inconsistent and unpredictable from the same static piece of code.
I don't know if it is glitches on different platforms or what ?
For example a couple of years ago I wrote an overidden paint method for the button class which drew an image instead of text. I accept that this may not work perfectly but what actually happened was the images appeared on random different buttons each time, sometimes resulting in the correct display, sometimes not.
Recently I have a gui made of various components that basically draws lines on a centrel canvas. Sometimes these lines are drawn at the wrong size and sometimes on a different canvas. The code is much more in depth than just drawing lines but it is the inconsistency that puzzles me.
I was just wondering if anyone had experienced similar problems.
23 years ago
JClass Chart has specialised classes for drawing Charts but it might be a bit overkill depending on what you are trying to do.
23 years ago
Is it just me or does Java have some major problems.
I have written several applications in Java over the last 3 years and ,altough I like it as a language, it seems to me that the whole graphical/GUI side of it is fairly unpredictable.
When components are drawn I have always had problems with inconsistent unexpected behaviour. Such as drawing images, shapes or components on the wrong component - it appears to be completely random.
Am I missing something or does anybody else have these problems ?
23 years ago
Yeah, our company is seriously using staroffice on Linux. How about you ?
23 years ago
Is there any way or classes that anyone knows of for scaling fonts ?
23 years ago
I am writing an application in Java using JClass.
The program loads in various information defining the chart and the paints it to a canvas.
I then use the PSGr class (available on web) to write out a postscript file of the chart.
This all works fine, however, I want to be able to run a batch such that a list of charts are loaded in and dumped to postscript.
This works fine most of the time but sometimes. A chart is painted to screen smaller then it should be or with part of it drawn in the wrong position. As this only happens when the program runs through a batch it is difficult to know what the problem is or how to fix it. Does anybody have any ideas ?
It seems to be a problem with how fast it goes through them.
P.S.
I wrote a program a while ago where I overode the paint method of the java.awt.button class. I had a similar problem then, Sometimes (completely unpredictably) the image to be drawn on the button would appear in the wrong place.
23 years ago