Isaac Jones

Greenhorn
+ Follow
since Jun 18, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Isaac Jones

Hello
I was wondering if there is a way to access and edit the file summary information (ex. for mp3 or movie files) preferably in java. i'm using java 1.6 but i haven't found any classes that support that. Or are there maybe other libraries that allow to do that. I've heard there's a way with JNI, but I'm not familiar at all with this. So if there was another way i'd be more than happy.

Thanks.
14 years ago
i'm sorry, i'm talking about swt here, looks like you're talking about swing. maybe it works the same. this is what i have so far:



the do_login(e)-Method doesdn't do much yet. just closes the loginwindow as follows:



any ideas?
18 years ago
hey

thanks for your answer. well it actually works with any other key. if set the close button as default button, meaning when i hit the return key the button gets selected but nothing happens. even when i hit enter again. but when i press any other key while the button is selected the window closes. i don't really understand why it it like that. do i have to treat the return-key special?

regards
18 years ago
hi everybody

can someone tell me how i can remove a menuitem from a context menu or even better how i can clear all items from a menu (like resetting the menu). i couldn't find any remove method or so. depending on the selected item i want different entries in my context menu. any ideas?

regards
18 years ago
hi everyone

i'm trying to close a window with a close-button when hitting the return key of my keyboard. but when hitting the key the only thing that happens is that the button gets selected (i've set it as default button). i've put a keylistener to my close button. does anyone know how to do that?

regards
18 years ago
hi

thanks a lot for your answer. that helps already. do you or anyone else know if you could run the tomcat server on a server so that not every client would have to start its own tomcat?

regards
18 years ago
Hi everyone

can please someone tell me what the big difference between java-help and eclipse-help is? as i can see it both standards use xml files which are linked to html-pages. which standard would you recommend and why? by the way, the application im writing is probably going to be using eclipse's rcp standard (this does not mean I'd have to you use the eclipse-help, does it?).
and does anyone know any good tools which could help me creating these help-files (does not necessarily have to be freeware).

Thanks in advance for your time!

with kind regards
18 years ago
Hi Howard

well, all I'm trying to do is the following:



My problem is now that the groupname is not red as it should be, it's still blue (because I'm running the application with xp-style). now is it possible to still get a red groupname even though running the xp-style which makes it blue?

regards, Isaac
18 years ago
Hi everyone

somehow I have problems setting a different color for a group running the win xp style. the default color with xp style is always blue. if i change it to any other color it's still blue. the xp style seems to overwrite it. is there any way i can change the color with a hack or something or got anyone any other ideas? thanks in advance.

with kind regards
18 years ago
Hey Alex

can you please help me out here. I'm not sure what you have meant earlier. What should I find in the API? You would help me a lot if you could post some sample code. That would be really great.

Thanks in advance.

with kind regards...
18 years ago
hi
well I've tried it too and I can't get it to work. I always get the tree in first column. if it's that easy to do can you give me an example?
that would be great.

thanks in advance, isaac
18 years ago

Originally posted by Alex Kravets:
Is this what you want?
http://www.java2s.com/ExampleCode/SWT-JFace-Eclipse/DemonstratesTableTreeTableTree.htm



well I think that's not exactly what he meant. as it is shown in his example he wants to have the expand / collapse boxes in the 2nd column.

does anyone know how that could be done?
18 years ago
hi everyone

I have some swt questions. hope someone can help me out here.

TabelTree:
Is it possible to put the expand/collaps boxes in any other column other than the first one? I gotta have them in the 3 column. if that's not possible, how else could that be done?

Regular Table & TableTree
Is it possible to wrap text in a single cell. let's say to have multiple lines in one cell. and is it be possible to merge columns (just like in html where you can merge rows and columns with the command colspan / rowspan)?

i know these are some tricky questions. hope it's somehow doable.

thanks in advance, isaac
[ January 16, 2006: Message edited by: Isaac Jones ]
18 years ago
hi,
i've been trying to find out how to get the clients ip all day long now. i hope someone can help me here. i have a serverSocket running on my server. in a while loop i have a socket=serverSocket.accept() waiting for clients to connect. how can i find out the clients ip? shouldn't it be in the socket? i've tried several different functions but all i get is the ip of my server. anyone got any ideas?
here is part of my code:



thanks, sgl