Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search Coderanch
Advance search
Google search
Register / Login
maruf rahman
Greenhorn
+ Follow
4
Posts
3
Threads
0
Cows
since Sep 16, 2009
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
Ranch Hand Scavenger Hunt
Number Posts (4/100)
Number Threads Started (3/100)
Number Cows Received (0/5)
Number Likes Received (0/10)
Number Likes Granted (0/20)
Set bumper stickers in profile (0/3)
Report a post to the moderators (0/1)
Edit a wiki page (0/1)
Create a post with an image (0/2)
Greenhorn Scavenger Hunt
First Post
Number Posts (4/10)
Number Threads Started (3/10)
Number Likes Received (0/3)
Number Likes Granted (0/3)
Set bumper stickers in profile (0/1)
Set signature in profile
Search for a post/thread (0/3)
Set a watch on a thread
Save thread as a bookmark
Create a post with an image (0/1)
Recent posts by maruf rahman
how to save scene in javaFx ??
Hello all ...
I want to save a scene in javaFx ??
I also want to load that scene ..
How can I do this ??
Thanks in advance...
show more
13 years ago
JavaFX
pointer in java
i have three variables. I have to change the value of these variables using reference variable(pointer in c). Here is the example in c;
int main() { int *p; int a=10,b=11,c=12; p=&a; *p++; p=&b; *p++; p=&c; *p++; }
How can i implement this in java.??
Thanks in advance
show more
14 years ago
Java in General
How do I go about making my own Yahoo Messenger?
why the last two catch statement show error !!!
package ymsg.network; import java.io.IOException; import java.util.logging.Level; import java.util.logging.Logger; public class Main { public static void main(String[] args) { { Session ss = new Session(); try { ss.login("username", "password"); } catch (IllegalStateException ex) { Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex); } catch (IOException ex) { Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex); } catch (AccountLockedException ex) { Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex); } catch (LoginRefusedException ex) { Logger.getLogger(Main.class.getName()).log(Level.SEVERE, null, ex); } } } }
error_1:
incompatible types
found :ymsg.network.AccountLockedException
required :java.lang.throwable
error_2:
incompatible types
found :ymsg.network.LoginRefusedException
required :java.lang.throwable
show more
14 years ago
Sockets and Internet Protocols
what is the prob !!!
hello....this code is form
webpage
does not run in my mechine.....whats the prob ??
here "phoenix" is my mechines name
import java.io.*; import java.net.*; public class EchoClient { public static void main(String[] args) throws IOException { Socket echoSocket = null; PrintWriter out = null; BufferedReader in = null; try { echoSocket = new Socket("phoenix", 7); out = new PrintWriter(echoSocket.getOutputStream(), true); in = new BufferedReader(new InputStreamReader( echoSocket.getInputStream())); } catch (UnknownHostException e) { System.err.println("Don't know about host: phoenix."); System.exit(1); } catch (IOException e) { System.err.println("Couldn't get I/O for " + "the connection to: phoenix."); System.exit(1); } BufferedReader stdIn = new BufferedReader( new InputStreamReader(System.in)); String userInput; while ((userInput = stdIn.readLine()) != null) { out.println(userInput); System.out.println("echo: " + in.readLine()); } out.close(); in.close(); stdIn.close(); echoSocket.close(); } }
show more
14 years ago
Sockets and Internet Protocols