35,618 Topics

Member Avatar for
Member Avatar for anuj_sharma

Hey Guys, I am making a Online Testing application. I have one form which sets the settings of the test. The values submitted by the user through this form is passed onto another page. On the second page the user submits questions and answers. Now i want the values submitted …

Member Avatar for peter_budo
0
87
Member Avatar for polska03

Hi can someone help me. I sent this question in another forum, but noone is helping. This is the link please hlep! http://www.dreamincode.net/forums/showtopic158550.htm

Member Avatar for javaAddict
0
83
Member Avatar for countenance
Member Avatar for javaAddict
0
65
Member Avatar for skwatamkar

my college project is finished now i want to shine it with different look and feel. I am developed the application on windows platform can i am able to apply quaqua loook and feel to it. if yes then plz give it to me in simple step by step manner. …

Member Avatar for peter_budo
0
143
Member Avatar for Danny_501

Hi everyone, I'm having a problem with understanding the workings of an enhanced For loop. This code is meant to iterate through an array of ints and print out the char value of that int. But it seems to start on the first number in the array, making the program …

Member Avatar for Danny_501
0
206
Member Avatar for CollinRyans

Hi, what I am trying to do is simple: I just want to execute something depend on what the user presses. Here's the pseudocode: [CODE]if(user presses 1) { do this } else { do that }[/CODE] ps. I was reading about [CODE]java.awt.AWTKeyStroke;[/CODE] and is that what I need to use? …

Member Avatar for kvass
0
86
Member Avatar for bob10

Hi guys, I have a problem with arranging my components in a GridBagLayout. The frame is 600x600. Inside it, there are two pairs of (Label,TextField). They are not where I want them to be. What I would like is to have them all at the top of the frame, one …

Member Avatar for bob10
0
149
Member Avatar for achiman

Please can anyone tell me if it is possible to write a program that allow multi client interaction with a server. I am new to Java so any help will be appreciated. Thanks

Member Avatar for achiman
0
255
Member Avatar for kv79

Hello I am really new to Java/Oracle. I am having NetBean 6.8 IDE for development. jdk1.6.0_17 Where do I start? THANKS advance!!!!!

Member Avatar for peter_budo
0
66
Member Avatar for miles.85

Here a simple code which I have to add on project: [code] import java.io.*; import java.util.Scanner; public class Ana { static public void main(String[] args) { try{ File gecicidosya=new File("D:\\B.txt"); File sdosya=new File("D:\\A.txt"); Scanner oku = new Scanner(sdosya); BufferedWriter yaz=new BufferedWriter(new FileWriter(gecicidosya)); while(oku.hasNextInt()) { System.out.println("while started"); oku.nextInt(); System.out.println("file readed"); } …

Member Avatar for miles.85
0
278
Member Avatar for angellost

hiii i am doing a project using jsp and oracle.... i am stuck on one thing.... in my project i am asking the user some FAQs about symptoms he has.... depending on the answers he gives i want to show him probability of the diseases he may have... but i …

Member Avatar for jwenting
0
78
Member Avatar for devstarter
Member Avatar for jwenting
0
53
Member Avatar for n_vcplus

Hello All, I've been through this article and found it very helpful {http://msdn.microsoft.com/en-us/library/bb250489(VS.85).aspx}. I have a 'static' callback method in my BHO dll which is called whenever 'some' event on the computer happens. I need to call a javascript method on all open browser instances when that happens (or do …

0
112
Member Avatar for Mandana_bgh

hi i have radio button in jsp i want check that radio is selected or not!! [CODE] <input type="radio" name="code1" value="1" > [/CODE] how can i check in input that radio is selected or not!! for example put if in input [CODE] <input type="radio" name="code1" value="1" <% if(?)%>>[/CODE]

Member Avatar for Mandana_bgh
0
5K
Member Avatar for fuggles

I am testing with HttpGet to simply see if it would download anything from my website, but the application crashes on startup. Anyone know why? [code=Java]package com.httptest; import java.net.URI; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import org.apache.http.client.methods.HttpRequestBase; public class httptest extends Activity { /** Called when …

Member Avatar for fuggles
0
103
Member Avatar for Majestics

How to set caption icon in java? Like firefox icon on the top caption bar. and how to run a process in background in java? Thank you.

Member Avatar for jamesonh20
0
82
Member Avatar for bob10

Hi guys, I have a problem using GridBagLayout. I will paste my code here. You can run it. Sorry for the length :) I tried to comment it as much as possible. So there are three panels in this GUI. One left, one right, one south. The problem is only …

0
45
Member Avatar for btom14

I need help designing a method that finds the percentile of a value given the percentile rank. Here are the exact instructions: public double getPercentile(int p) This returns the value of the pth percentile. A value stored in the array is the pth percentile if it is greater than or …

Member Avatar for andydrewk14
0
149
Member Avatar for firebugg

Hi Everyone. I am working on an assignment with the following instructions... Enhance the DataSet class so that it can either be used with a Measurer object or for processing Measurable objects. Hint: Supply a default constructor that implements a Measurer that processes Measurable objects. I'm confused about how to …

Member Avatar for firebugg
0
517
Member Avatar for tonymate

Hi all, Below is a program that continues to give me multiple errors when I ran it. I kept getting error which I don't know how to fix and where/or what I did wrong. I need your help. Please bear with me as you read through this because it is …

Member Avatar for dreamcode
0
280
Member Avatar for Bladtman242

Hi guys, I have been searching the web a bit without success, perhaps I'm using the wrong keywords. Anywho, I'm looking for a way to monitor how many bytes are uploaded/downloaded from the computer, weather trough the winAPI or whatever, I would really appreciate any help on this :)

Member Avatar for Bladtman242
0
150
Member Avatar for A M R

i have problem in updating GUI from another thread my code gives me exception i debugged to find the reason of exception i found that it is here [ this part of Wedget class [code] if (display.thread != Thread.currentThread ()) { if (display.threadId != OS.GetCurrentThreadId ()) { error (SWT.ERROR_THREAD_INVALID_ACCESS);//hereeeee } …

Member Avatar for A M R
0
124
Member Avatar for A M R

Hi i wrote classes of content and label providers as illustrated here [url]http://www.vogella.de/articles/EclipseJFaceTable/ar01s05.html[/url] now i want to Bind my tableview with such list as it is done here with textfield and such strings [url]http://www.vogella.de/articles/EclipseDataBinding/article.html#swtdatabinding_dependency[/url] :-/ can i do that?

0
365
Member Avatar for Pezzy

Hello, I just started learning Java, and I'm having problems getting Kruskal's algorithm to work properly. While I have had more success implimenting this in C++, I'm still having issues there. I have a feeling my find() method may be the cause. I've been scouring the net trying to find …

Member Avatar for Pezzy
0
514
Member Avatar for devstarter
Member Avatar for verruckt24

My current project needs me to include the facilities of an email client into the system in order to keep track of all communication done through email. Designing an building an email client would be sort of re-inventing the wheel especially since thats not one of the core modules of …

0
75
Member Avatar for raghu3117

if a jsp report selects 100 records, then i want to show that report as 10 records per page, such as next,last,pevious 10 records like emails. pls help me with example

0
42
Member Avatar for vinothkumarrvk

Friends what is the result/output for the following code in struts(example.jsp) [code=jsp] <% String linkDesc = "abc\ndef"; desc=linkDesc.toString(); %> <bean:define id="descId" value="<%=desc%>"/> <bean:write name="descId"/> [/code] Please clarify me. Thanks in Advance.

0
53
Member Avatar for talha06

Hi everyone, I want to convert [B]JDBC ResultSet to JSON Array[/B]. As u guess, direct casting isn't allowed.. How can I convert my DB data which is stored in ResultSet to a JSON Array? I'll be happy if someone can help me. Thanx in advance, With regards, Talha..

0
109
Member Avatar for halfnode

[CODE]System.out.printf("%-10s \t %8d\n",name[i],stationA[i],getStationScore(stationA[i]),stationB[i],getStationScore(stationB[i]),stationC[i],getStationScore(stationC[i]),award[i]);[/CODE] hi all, i'm finishing up on this assignment of mine and can't figure out how to format my output correctly. the correct format should be Name Station Station Test A B A b but so far i only been able to manage to get Name Station Station …

Member Avatar for halfnode
0
110

The End.