Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!

Orna Vel

Greenhorn
+ Follow
since Jun 02, 2003
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 Orna Vel

Hello,
I have a problem, and have no idea what to try next.
I use GridBagLayout to place my Components in appropriate places on the screen. The problem is that when I call my code the first time it appears in totally different size on the screen, and takes it's right place just after the first resizing or maximizing/minimizing the whole window.
I know that the problem is in controlPanel, which has a lot of buttons. When I replace it with another "dummy" panel, the picture appears to be ok. But how I can make my code running properly anyway?

I tried: setVisible(false) - setVisivle(true) - does not help much.


Here is my code:



where


15 years ago
Thank you, it works now.

15 years ago
Thank you so much, gurus. My code looks like this:


etc.

Where:

I'll try to find another way to deal with this names.
[ May 25, 2005: Message edited by: Orna Vel ]
15 years ago
Hello,
I created the .jar file for distribution. There are some .class files there and an Image directory with several .gif files I use as icons.
I run the application with the command:
java -classpath ".;MyJar.jar" MainClass
Everything runs fine, but there are no icons on my GUI :-(. It works fine if I copy the Image directory to current directory (.). But I do not want to do it.
When I use
jar -tf MyJar.jar I can see, that Image directory with all gifs is there.
How can I avoid copying the Image directory?

Thank you.
:roll:
15 years ago
It means that nobody had this problem before?
It appears just sometime. As I found, if you call



everything works fine, but
if you want to draw SHAPE here is the problem:



the leading blanks are disappear. Too bad.
15 years ago
Hello, I have the following problem:

I create a GlyphVector, and drawing this GlyphVector later.
It works fine with regular string, but if string starts from blanks,
they are disappear. It means, that if I have

String s = new String(" tex t");

the drawing appears to be "tex t". Blanks inside the string or at the end
of the string do not cause any problem.

Any thoughts?
Thank you.
15 years ago
Ok, now it works fine:

15 years ago
I think this code works properly:

15 years ago
I am trying to create the application with "compact" BufferedImage which uses just 1 bit per pixel. But it does not work properly - it looks like it still uses a byte per pixel. Any thoughts?




Thanks.
15 years ago
I am trying to create the application with "compact" BufferedImage which uses just 1 bit per pixel. But it does not work properly - it looks like it still uses a byte per pixel. Any thoughts?


[ March 31, 2005: Message edited by: Orna Vel ]
15 years ago
Oh, it's easy if you know :-)
After the command
net use new_drive: <network path>
you will see the network in your JBuilder Properties icon. :-)
Hi,
my question is for the people who used JBuilder6. You can set the source path in the Project Properties menu, but there is possibility to set it to the directory on YOUR computer. What if I'd like to use source files from the local network? Is it possible to set source path there?
Thanks.