32,199 Topics

Member Avatar for
Member Avatar for abhinashraju

Hi everybody, How to do the following in java..?? created a frame and one button added to that frame and set the keyboard shortcut to that button.Now my question is how to make that keyboard shortcut will work eventhough focus is not there in that frame? anyone have any idea..

Member Avatar for Taywin
0
236
Member Avatar for kathir100
Member Avatar for Andyjava

hello people. i have this application which is suppose to retrieve database tables form a paricular database being used and add them as items in2 a jcombobox.The reason is that i want to hvae the opportunity to insert a file into any table by just clicking my jcombobox and select …

Member Avatar for Andyjava
0
2K
Member Avatar for kenth21v

Hi guys ! Anyone familliar with planetsourcecode? I downloaded a simple inventory sysyem and calculator to study the codes. But I don't know how to open them using Eclipse.. Help me pls ! Thanks!

0
101
Member Avatar for kenth21v

Well I have a background in using Java 3yrs ago, a long time. We've used Jcreator for school. Now I want to review and study Java again but I saw too many types or kinds of JAVA and I am confused. What JAVA can you recommend? And what application should …

Member Avatar for kenth21v
0
232
Member Avatar for Krokcy

Hey! So i'd like to learn the JMF api. And to start i wanted to build an application that can capture frames/video from a webcam. Now, i started by trying to list all the devices: Vector info = CaptureDeviceManager.getDeviceList(null); if (info == null || info.size()==0) System.out.println("No Capture devices known to …

Member Avatar for harinath_2007
0
545
Member Avatar for sear899

If anyone knows Java and is semifamiliar with modding it, can you interpret this error code. == MCP v4.3 == > Recompiling client... javac.exe -g -verbose -classpath "lib/;lib/*;jars/bin/minecraft.jar;jars/bin/jin put.jar;jars/bin/lwjgl.jar;jars/bin/lwjgl_util.jar" -sourcepath src/minecraft -d bin/minecraft src/minecraft\net\minecraft\client\*.java src/minecraft\net\minec raft\isom\*.java src/minecraft\net\minecraft\src\*.java conf/patches/*.java fai led. Return code : 1 == ERRORS FOUND == src\minecraft\net\minecraft\src\ItemChain.java:6: invalid …

Member Avatar for NormR1
0
209
Member Avatar for vishu.bhavsar

Hi All, I am developing a Java Swing application where I am using MS Access database. The problem is when I want to move this project to another location or machine or workspace, I need to change the data source properties in "Administrative Tools". Is there any work-around for this …

Member Avatar for Ezzaral
0
174
Member Avatar for Andyjava

hello. i created a java app which enables one to create a database table using the name inputted by the user.But the problem i have is that i dont know how to make the column names of the table set to the name prefered by the user i.e the user …

Member Avatar for Andyjava
0
742
Member Avatar for DrEinstein

Hi everyone, I'm new here. I have a problem and I hope someone can help me with it. Actually, my problem involves arrays but its about the Gregorian Calendar class. I am trying to output a series of concentric circles . I have created two classes with two different types …

Member Avatar for DrEinstein
0
140
Member Avatar for trishtren

Hey, I was hoping someone can help me convert a piece of php code, im not really sure where to start pack( 'v', $test ); The pack php function above takes in an integer and converts it to an unsigned long. V - unsigned long (always 32 bit, little endian …

Member Avatar for keith.pastorek
0
1K
Member Avatar for SasseMan

Hi! I'm having an issue with maven I can't figure out. I have two local projects, project1 and project2. Project1 has project2 as a dependecy as you would have any dependecy in maven declared. Everytime I make a change in project2 I have to install it into the local repository …

Member Avatar for peter_budo
0
147
Member Avatar for phsims

I have been working on Java game development for a few years.Obviously questions are going to be raised during the development period.I have come to notice that simple programming questions do not get answered by simple programming answers which are emphasised in lowering the morale of the questionaire and it …

Member Avatar for JamesCherrill
0
204
Member Avatar for vivekanand.rai.31

i am making a application using java swing drag and drop property how can i add a calender without coding

Member Avatar for softswing
0
146
Member Avatar for agwx2

Hello, I am new to java, and I need help with images. I am trying to move an image up the screen while still allowing another image to move using the arrow keys. If I use `thread.sleep` to move the image, I cant move my other image at the same …

Member Avatar for agwx2
0
290
Member Avatar for XerX

Hello. I want to make a File->Open menu functionality to this program. In JMenuBar I think I create everything correctly but it doesn't display when I run it. How do I display it and make the Open functionality work? package oimg; import java.io.*; import java.net.*; import java.awt.*; import java.awt.event.*; import …

Member Avatar for NormR1
0
604
Member Avatar for CoolGamer48

Hey, I'm a C++ programmer, but I'm beginning to learn Java, and from what I see so far the two languages are very similar. The main difference I hear is that C++ has pointers and Java doesn't, but from my understanding Java does have pointers in a sense, the user …

Member Avatar for stultuske
0
903
Member Avatar for josus7

HELLO EVERY ONE, CAN ANNY ONE TELL ME HOW I CAN SET A PASSWORD TO MY EXISTING DERBY DATABASE IF YOUR KNOW PLEASE HELP, TNX

Member Avatar for Ezzaral
0
77
Member Avatar for buzmay

Hi, I am trying to do a calculator for celcius to farenheit and viceversa. However I cannot understand why my program does not work. After reading the scanner it does anything and I really do not know why. Could anybody give me a hand here is what i have gotten …

Member Avatar for JamesCherrill
0
176
Member Avatar for coroll

Hi, Im developing a game. When the human gets his turn i want to display a JFrame with some buttons. So the game must wait until the user clicks on a button. Also i want to identify which button is clicked. I read that JOptionPna gets any component as a …

Member Avatar for Taios
0
286
Member Avatar for boiishuvo

I made a simple program - conservative sequence integers with a sum, for example input: 15, the output should be 1, 2, 3, 4, 5 I made this program in c++ and it worked successfully, see below: #include <iostream> #include <string> using namespace std; int main() { int num, i, …

Member Avatar for Taywin
0
259
Member Avatar for prakash89.gitam

Hi I have a task to do. I will just brief it in a sentence, I have a file of 20000 lines. Now task is to recognize number of similar lines. ex1 : "The quick brown fox jumps on a lazy dog" ex2 : "The quick brown dog jumps on …

Member Avatar for Taywin
1
178
Member Avatar for hatebin

I'm trying to develop a client application for a game server. For example i would like to restart server with counter-strike on it. In a simple way i just open CS console and type "restart" command. I know the IP and port number where the game is hosted. I've allready …

Member Avatar for NormR1
0
167
Member Avatar for kb2k8

Hello, I need some help with these simple questions. I am a first year IT college student and I do not know how to apply math.pow to these statements. Given the following expressions, re-write them as Java expressions using some parentheses to indicate a sequence of operator evaluation. 1. v …

Member Avatar for kb2k8
0
143
Member Avatar for LinkedList

Hey guys. I want to create an application for my PC in JAVA which can communicate with my CELL phone via Bluetooth. I just want it to receive text chats send by cell over bluetooth connection and be able to display them in appropriate format. I have good knowledge of …

Member Avatar for hatebin
0
254
Member Avatar for Johannady2

This is our longquiz from this morning. don't worry.. I am not cheating off a quiz.. it's already 22:00 o'clock where I am. this quiz was on 8am. I am studying for our final exam tomorrow. we weren't told the right answers.. and I don't have a book right now …

Member Avatar for DrEinstein
0
296
Member Avatar for Viped

Hi, I want to do program that reads different news sites and lists headlines. How this should be done? How to read the data from the web sites?

Member Avatar for YahooTR
0
88
Member Avatar for thecrazy

**Bold Text Here**hi, i need some help. i ave written the code for different forms of an applet in swings, but i am not able to open another form by clicking a button in on form. for eg when i click the registration button it should open the registration form. …

Member Avatar for karyal
0
97
Member Avatar for srujan.kommoju
0
124
Member Avatar for rahul.ch

A question that I came across: Q: Can you pass a double to a method when it's argument is a float? A: No. Regardless of the double value, a double-sized variable is too big to fit in a float, so it can't be implicitly cast. Doubt: Shouldn't narrowing happen implicitly?

Member Avatar for JamesCherrill
0
206

The End.