32,199 Topics

Member Avatar for
Member Avatar for Majestics

I want combo box in jtable visible from start not when i click the cell... any idea?

Member Avatar for Ezzaral
0
141
Member Avatar for ceyesuma

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 …

Member Avatar for ceyesuma
0
121
Member Avatar for cemali_ys

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 …

Member Avatar for JamesCherrill
0
150
Member Avatar for Chicken80

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 …

Member Avatar for jon.kiparsky
0
351
Member Avatar for lynnajoe

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 …

Member Avatar for JamesCherrill
0
158
Member Avatar for ssdeep

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 …

0
91
Member Avatar for stevanity

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) { …

Member Avatar for NormR1
0
962
Member Avatar for jazz_vill

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 …

Member Avatar for jazz_vill
0
90
Member Avatar for Jessurider

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 …

Member Avatar for masijade
0
148
Member Avatar for marsangel

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 …

Member Avatar for marsangel
0
96
Member Avatar for monica23

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

Member Avatar for NormR1
0
35
Member Avatar for otherdummy

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 …

Member Avatar for BestJewSinceJC
0
949
Member Avatar for ceyesuma

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 …

Member Avatar for ceyesuma
0
912
Member Avatar for hinaraees

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?

Member Avatar for BestJewSinceJC
0
140
Member Avatar for FALL3N

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 …

Member Avatar for FALL3N
0
276
Member Avatar for newbie14

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.

Member Avatar for newbie14
0
547
Member Avatar for MasterBerd

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.

Member Avatar for harinath_2007
0
154
Member Avatar for ssdeep

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???????????

Member Avatar for stultuske
0
149
Member Avatar for nered

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 …

Member Avatar for JamesCherrill
0
104
Member Avatar for desert564

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 …

Member Avatar for harinath_2007
0
1K
Member Avatar for corby

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 …

Member Avatar for NormR1
0
162
Member Avatar for kiel19

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 …

Member Avatar for steelshark
0
116
Member Avatar for FALL3N

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. …

Member Avatar for hfx642
0
364
Member Avatar for ssdeep

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!!!!!!!!!

Member Avatar for NormR1
0
195
Member Avatar for ankit.pandey3

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 …

Member Avatar for Majestics
0
109
Member Avatar for Majestics

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 …

0
70
Member Avatar for syeda amna

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 …

Member Avatar for ceyesuma
0
159
Member Avatar for bhagawatshinde

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 …

Member Avatar for bhagawatshinde
0
77
Member Avatar for 2blew2b

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 …

Member Avatar for pbl
0
146
Member Avatar for Jessurider

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 …

Member Avatar for pbl
0
278

The End.