I thought the same way but I wanted a confirmation from someone with more experience.
The thing is that I saw some objects(raster and so on) and I thought that I can dinamically create the image on a side(client or server) by setting it's pixels somehow(the pixels would be send over the network...
I have a big problem and i have to solve it in max 15 hours.
I've made a chat. Both client and server are applets. What i need to do is send a gif from client to server.I am not alowed to sign a jar archive so i must obay the security manager so I can't read the file that contains the image in...
my bad sedj i admit.
The thing is the I implemented a chat and for that println worked just fine. And now i had to add this last feature and i hoped i won't be forced to change the transmision method.
Guess I was wrong..
I have to send a gif from a client to server.
I have used sockets and DataInputStream and PrintWriter to stream the data.
The problem is that the server recives incorect data; a few bytes are not recognized.This is the source gif sent by the client:
//****************************************...
Hi there, is there any way I could change the way a JMenuItem looks(I would like to change the background for instance and maybe display a custom image when the menu item is selected).
The getGraphics() method returns null so...
Should I extend the class instead and overwrite paint method ...
Sorry I was saying that I would want to create a shortcut on the desktop, not a shortcut to the desktop(my mistake). It will be an internet shortcut(I will create a file with the proper extension and content...that will do) and I must change the icon for that shortcut. The problem is that I...
Please tell me how can I get the path to Desktop(I want to create a shortcut from code) and also how can I change the icon for that shortcut(or any other file). I'm using plain API but if you know how to do these in MFC it'll be ok(though I don't like MFC that much).
I'm selecting text from a JTextArea from my code with
setSelectionStart()
and
setSelectionEnd() which is working just fine
The problem is that the text selected is not visible so please tell me how can I highlight the selection I've made.
Thanks...
I'd like to acces the e-mail box(yahoo for example) using c++. This should involve socket programming (or so i think so).Please tell me how would you consider to solve this assignment.
I'm not too familiar with socket programming in visual C++, so if you know some documentation I would be...
If the panel is visible when you add the JTextField components, then you must call validate() for that panel in order to display components added after you displayed the panel. The folowing code displayes 5 JTextFrame components(I've modified your code a little)
import javax.swing.*;
import...
Yeah I guess I had too much cofee for today and that's why your post seemed to me a little agressive. but maybe I was wrong.
Sorry for the previous post.
Good point :) I've noticed that Stefan is german, but let's think a little bet about the concept of www. It means world wide web.
We don't use cwb (country wide web) so what's so wrong in using a language like english so that everyone would understand?
If I would have posted my question in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.