Jump to content

YoussefGamil

Member
  • Posts

    54
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Egypt

Everything posted by YoussefGamil

  1. Hi, how to send and recieve image over socketserver (in Java ) without saving the image on the client's computer? Thanks for help.
  2. As the title says! Could any-one Please give me a PDF or document that helps me to understand what is that thing (WSC)? THANKS
  3. THANKS VERY MUCH I have used : repaint(X,Y,W,H); to re-draw the images
  4. Hi, How to open a ZIP file for reading/writting protected with password (I know the password for that file)? Should I use java.util.zip?HOW? Should I use java.security.KeyStore?HOW? Please Help,..as fast as possible THANKS
  5. Hi, I have a small problem in RE-draw any image! I mean when I replace any image with other the screen goes white for a sec then the other image appears. thanks,..
  6. Hi, I really need your help... It's in setting a Jtable editable(false);.. .. I mean to make a jtable where you can't edit what is wriiten in it.
  7. No.. But,PRINT instead of ECHO... (both do the same function!!!) So,..what is the problem?
  8. What do you mean by "side by side"?
  9. DOESN'T WORK!!! Although I added DoOutput(true),It didn't work!! Is there a way to make it work?? or.. Is there another way to make the same function?
  10. I think I have found it.... It's a code to pass Data to PHP using "POST" method URL myURL=null; URLConnection urlConn=null; DataOutputStream printout=null; DataInputStream input=null; try{ url=new URL(getCodeBase(),"Picks/"+"writeToFile.php"); }catch(Exception easidghih){} try{ urlConn=myURL.openConnection(); }catch(Exception w){JOptionPane.showMessageDialog(null,"openConnection() error");} try{ urlConn.setDoInput(true); urlConn.setUseCaches(false); }//end of try catch(Exception a){JOptionPane.showMessageDialog(null,"Exception here");} try{ printout=new DataOutputStream(urlConn.getOutputStream()); String content="File="+URLEncoder.encode(username+".txt","UTF-8")+"&text="+URLEncoder.encode(Long.toString(number),"UTF-8"); printout.writeBytes(content); printout.flush(); printout.close(); }//end of try catch(Exception f){JOptionPane.showMessageDialog(null,"error 2");}
  11. Can I use URLConnection in Java to send parameters to PHP file? Is it Possible?and does it work?
  12. Yeah,... See this example: <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="generator" CONTENT="Microsoft FrontPage 5.0"> <META NAME="author" CONTENT="Kai Doragon"> <META NAME="description" CONTENT="This page is dedicated to Anime Desktop themes, like Gundam Wing."> <META NAME="keywords" CONTENT="Kai's Kreations, original, desktop themes, anime, Gundam Wing, wallpaper, Duo, Wufei, Quatre, Zechs, Heero, Trowa, e-cards, greeting cards"> Hope to work after using the META-TAG..
  13. Do I need to create 2 programes (Server and Client) to make chat? Or.. Can I make chat by connecting a client to other (without making Server application) ?
  14. I need to put a class in a package...So,.. I wrote: package PACKAGE_NAME; in the first line of the class and put it in a directry with the package name.. All I need to know how to compile this class and set it's CLASSPATH? Please Help,.. Thanks
  15. I want to make a TCP/IP ServerSocket connection between 2 computers where I know their IPs... So,HOW? (by example/code)
  16. How to create a TCP/IP ServerSocket in Java? .......... I want to make 2 computers connect to each other using the same Applet.... where I know their IPs... So,how could I write the code for that ServerSocket?
  17. I want to make an Image inside a JTabel cell.... So, HOW? (by examples,PLZ) How Can I make an Image inside a JTabel Cell?
  18. Yes,..It's on the same domain The Problem is soulved now!!! by using "$HTTP_SERVER_VARS['cookie'];" insead of "$_COOKIE['cookie'];". But, why "$_COOKIE['cookie']" didn't work?!! Nevermind
  19. I have used "setcookie()" and "$_COOKIE();".. But, It doesn't work except in the same page where the cookie was made. So,How to make a cookie and how to read it by another page? PLZ help
  20. YES... It's client side.. Java Applet finally worked but, in another web-host!! I don't know where was the problem with the old free hosting side. But,Never mind!! Thanks 4 all
  21. Java is Client Side... So,...Why should I pay for Java Hosting???... e.g. 4Java.Ca .... There is many of free web-hosting like Jeeran (KSA) which Java Applet doesn't run in it's free hosting section.
  22. Ohh,..yeah BUT, this should only work with JS files (only)
  23. Hi, As I think the easies way is to create Inline Frame in the page!! ... I have tested a lot of ActiveXobjects to read/write file in my localhost (I mean in the hard disk only). But,.. I think there is a way in using JavaScript in this position (for that aim) .... I will reply to this as soon as I find the answer
  24. Where can I find a free web host that allow Java Applets? PLZ HELP Thanks
  25. Thanks after all.. but, It doesn't work!!!!
×
×
  • Create New...