32,199 Topics
| |
I want combo box in jtable visible from start not when i click the cell... any idea? | |
I went and tried to learn how to use Enum So I apologize for the lack of logical construction but I had to start somewhere I have code that I am not sure how to use it because I don't know how to call it so all the logic went … | |
Hello! I have many big lists of free proxies on text files. I need to write a small program which can test these proxies if they work or not. To do that i need to send ping on each proxy, but this is not a 100% solution because many proxies … | |
Hi there, I am very, very new to programming and need to work out how to determine if a number entered by a user is a prime number. I have coded this but it does not work. :'( Any assistance would be greatly appreciated! I also get the following error … | |
Hi, This program has the information I need it to have but instead of going down in a column it goes straight across. Can someone show me where to get the formatting for this kind of code? I tried different things to no avail. Thank you for this and all … | |
i need help using MAC from javax.crypto package. i am able to generate MAC codes using keys but i am getting different mac's for the same message using the same key.can anyone plz give a small foolproof code to generate mac from say a small message like "hello world" so … | |
Im reading Core Java (Cay Horstmann) V I And I came across this program......... [CODE]import javax.swing.*; import java.awt.event.*; import java.awt.*; class MyFrame extends JFrame { private ButtonPanel buttonPanel; public MyFrame() { setSize(300,200); setLocation(570,350); setTitle("Button Test"); buttonPanel=new ButtonPanel(); add(buttonPanel); } private class ButtonPanel extends JPanel { public void paintComponent(Graphics g) { … | |
I'm kind of confused about this. I want to create two threads that works in the same data. For example if I have an array of Strings then I want this two threads to work in each unique item say add a letter 'p' in each strings. My question is … | |
in visual studio when we make a project in c# with backhand as sql........we can see the sql file and we have to locate it in the corresponding place and specify that location........but in netbeans when we make a project in java and backhand as mysql.....we cannot see where that … | |
Hi there! I just want to ask if it is possible that my java program, which is done in Netbeans, can be run in a computer without netbeans? I mean, how can I compile my program where in, maybe an exe file can be created or an icon will be … | |
Hi Programmers, please am developing an applications that requires upload image and forms to database. I have found codes on how to upload only images and it works. Now I need to upload both form parameter and image simultaneously. I have googled the internet but couldn't find any. please assist | |
Hello, everybody I am working on a simple client-server program. The server side is a console program which will send (1)the list of files in home directory and (2)the contents of the selected file to the client side. And the client side is a GUI program which sends requests to … | |
I was reading some code that encouraged the use of vectors but my IDE is saying that it is an obsolete Collection. I need to use Vector because it can does not need to be a set size. and I would like to have a Vector of Vectors. Is there … | |
I have a project in java named java.war. where war means web archive files. i dont know where to place this project in tomcat directory or netbean IDE. can any one tell me? | |
ok, I'm sure the answer to this is very simple.. there may even be some component in the os package to do this... I want to do what the code underneath seems like it would do.. I understand it does not, and when I try to run the code, I … | |
Dear All, I would like to send email using java application. So I found this article [url]http://www.javabeat.net/tips/33-sending-mail-from-java.html[/url]. The problem now my environment is linux with jdk1.6 I do know how to setup the Java Mail Api. Any guide please? Thank you. | |
Hey guys I'm looking for java contests for high school students that I could be involved in during this summer. Do you happen to know some? If so, please post a link. Thank you. | |
if i have information like this a->b->c->d->MESSAGE,how do i tokenize it such that i get a,b->c->d->MESSAGE from the original string??????????? | |
Well the title really says it all. I am using Netbeans IDE for most of my work when working whit JComponents archive but i know how to make a java frame and add things to it without using Netbeans. Anyways. I decided to write a small program for a community … | |
the following code is to print the nearest twin primes to a number.for eg if the input is 20...the output should be 17 and 19 logic to my code is that it checks for twin primes within the range of a given number and then adds the twin primes.....the twin … | |
hey i am making a game and i wanted to see it as an exe file so i took the java code, creater a jar file, and then created a exe file. When the program runs on my computer it works fine, all the images load since they are on … | |
Dear all, I would like to design a Quiz/ Test Application like Pass 4 sure, but I am stack on how I should store; (a)The Question, (b) The Answer and explanation ,(c) the multiple choice answers, and finally the (d) the Image for some questions that will have questions relating … | |
Either nobody in the world from the myriad of forums and discussion boards I have been to knows how to do this, (which seems unlikely, as this does not seem a complicated procedure) or none of those people know how to answer a question concisely and in a straightforward way. … | |
i am doing a project in which i simulate symmetric encryption in routers.so hav to store secret keys for mac encryption in a symmetric matrix.how do i do it?????????should i convert them to strings and then store strings in a matrix??????? URGENT HELP NEEDED!!!!!!!!! | |
Hi friends I have a chat program. Client.jar is uploaded to my website and Server.jar is executed on my system. Any visistor just have to click link and my Client.jar is downloaded in his system and chatting start properly. But problem arises when visitor don't have JRE installed in his … | |
I want to provide report facility in my software.... I have seen jasper reports , crystal reports and many other.... In all of them i like crystal reports because they are easy to make.... can anybody tell me how to connect crystal reports with java app.... I dont have any … | |
hi I have create a table with 11 fields with field1 is primary key and auto incremented. In java i use prepared statement.The code is working well without auto increment that is i add this value from my program. when i change field1 auto incremented and use prepared statement for … | |
Hi , I am new in core java. i have develop an application. in that i am used the combobox in combobox i am displaying roll no. of students from sqldatabase. now when i want to find rollno when keypress on combobox. ie. if i have enter 2 then display … | |
my program does allow it to build with no errors but when the answer is right or wrong, it doesn't actually draw the appropriate string. I coded it in a way that I feel like would make it work but after clicking on the check answer button, nothing happens. Any … | |
see this is the code that is written in c# in visual studio 2005........In visual studio w can connect sql(not mysql) with c# and can even see the sql table visually......... can we do that similarly in java in netbeans7.0..... how can i connect sql with java.......do i need to … |
The End.