Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~3K People Reached
Favorite Tags
Member Avatar for ARaza110

Can someone please help me out that how execution of Inter-process communication in java is done, where a single process tries to receive from two mailboxes. I mean the send() and receive() operations?

Member Avatar for stevanity
0
162
Member Avatar for ARaza110

[CODE]public class cation { public static void main(String[] args) { new cation().run(); } public void run(){ harada hara=new harada(); insert(hara); insert(hara); } public void insert(harada hara){ if(hara.left==null){ hara.left=new harada(); } else{ insert(hara.left); } } class harada{ harada left; public harada(){} } } [/CODE] Can someone please explain, recursion in objects …

Member Avatar for ARaza110
0
167
Member Avatar for ARaza110

I am using MouseRotate class of Java3d to rotate two cylinders. But when i rotate one cylinder the other cylinder rotates with it. Is there a way around this problem. Thanks.

Member Avatar for hfx642
0
192
Member Avatar for ARaza110

Hello, Can anyone please tell me how to divide a 3D Cylinder in equal parts. A Cylinder has three fields as defined in the API, TOP, BODY, BOTTOM. I have divided my cylinder in these parts. Now, i only want the Cylinder.BODY (i mean the surface of the cylinder) to …

Member Avatar for mKorbel
0
141
Member Avatar for ARaza110

Hi, Can anyone please help. I am working on Java 3D Cylinders. I cannot color the different faces of the Cylinder differently. TOP, BOTTOM, BODY. All should have different colors. I tried it with different appearances but to no avail. [code=java] Cylinder c=new Cylinder(); BranchGroup contentBranch = new BranchGroup(); Transform3D …

Member Avatar for ARaza110
0
141
Member Avatar for ARaza110

Hi, I am working on a university project which seems a little complex for my limited knowledge. But , its about 3D Cylindrical Trees. Every cylinder in essence consists of menu items and hovering over any menu item will open up another cylinder showing further menu items. Can anyone please …

0
94
Member Avatar for ARaza110

Hi, I wanted to understand a java code that i picked from a website RoseIndian.net. It is about Binary Search three implementation in java. Can someone please explain how the retrieval of the node values [node.value] in the method "[B]printInOrder(Node node){}[/B]" being done, because the node.values are not being stored …

Member Avatar for ARaza110
0
203
Member Avatar for ARaza110

Can someone help me please. I am using a Scanner Class and want to count characters entered in the textfield. Unfortunately, backspace and any key (Ctr,Alt,Capslock) for that matter is counted as a character and that increments the counter by 1. Here is the code [code] String ab="^[A-Za-z0-9]+$"; public void …

Member Avatar for ARaza110
0
675
Member Avatar for ARaza110

I am using the Comm API, i have made a small desktop app for sending sms. I cannot send sms one after the other since it gives "Port In Use Exception". I have closed the Input and output streams as well as the serial port but still it gives "Port …

Member Avatar for ARaza110
0
163
Member Avatar for ARaza110

Hi, I have a problem related to Java servlet sessions. I don't understand why the getAttribute() function of the session object is used before setAttribute(); Here is the code: [code]Vector buylist=(Vector)session.getAttribute("Register"); if (action.equals("del")) { String del = request.getParameter("deli"); int d = (new Integer(del)).intValue(); buylist.removeElementAt(d); } session.setAttribute("Register", buylist);[/code] Thanks.

Member Avatar for mKorbel
0
396
Member Avatar for ARaza110

I have imported a project in my Netbeans workspace. It asks me to Resolve missing server problem. I right clicked the project and clicked on 'Resolve missing server problem'. It asks me to Add the server which i did (Tomcat 6.0) and then it asks me to browse the location …

Member Avatar for mKorbel
0
95
Member Avatar for ARaza110

Vector v = new Vector(); i<10; v.add(new Integer(i));// what does this lien do? I dont understand, what does calling (`new Integer()`) do? Is is calling the constructor and passing the value i in it. Why can't we just pass the value i directly and add it in the vector.

Member Avatar for ARaza110
0
127
Member Avatar for ARaza110

Here's the code : whichElement(e) [code]out.println("<li><a onclick='javascript:whichElement(e);menuClicked();selectMenu("+orders.get(i).toString().substring(43)+","+orders.get(i).toString().substring(39,40)+")'>"+orders.get(i).toString().substring(0,37)+"</a></li>");[/code]

0
59