35,618 Topics
![]() | |
hi i need to know about technology or tool which require regarding my project. can anyone please help me my project is Universal remote hmi(human machne interface) which should be 1.platform independent 2.should be able to run on any device (pc,tablet,android phone,windows phone) 3. if possible code of all langauge … | |
hello, hello! im probably being really dumb again, but i can't get java to run keyPressed() when i press a key. do i need to initialize the keylistener somewhere? any input is appreciated!(even if it's not help) import java.awt.Graphics; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import javax.swing.JPanel; import … | |
i am just trying to populate this array with some information. i have no idea why, but i am getting: java.lang.ArrayIndexOutOfBoundsException: 0 im probably just stupid 0_o... but, here is my code: private boolean populated = false; private int blockList[][] = {}; public void update(){ if(populated == false){ int a … | |
Our application has a requirement to use a ShowModalDialog box functionality. We have just phased out IE6 and now can develop towards IE8 functionality. From what I can tell ShowModalDialog works still and that's lovely, but I believe it's deprecated and therefore doesn't support some of the newer functionality of … | |
. hi, i want know how can i convert a java desktop application to java supported mobile application. i have created a java desktop calculator application in **"Net-beans 6.8"**, Now what i need to do to use this application in java supported mobile screen resolution 320x240 can i convert my … | |
![]() | Hi, I would like to have a Combobox where the selected item is the value set in the session attribute. For example: HTML: [CODE] <select name='myCombo'> <option value='--Select Table--'>--Select Table--</option> <option value='OPTION1'>OPTION1</option> <option value='OPTION2'>OPTION2</option> </select> [/CODE] Javascript: [CODE] document.getElementbyName('myCombo').selectedValue = session.getAttribute("choice"); [/CODE] Thanks, -Ashton. |
hi im not very good in english .. XD im trying to make a simple text editor that can open and save.. i have a problem in my save code here is the code: JFileChooser jfc = new JFileChooser(); jfc.showSaveDialog(jMenuItem1); File f = jfc.getSelectedFile(); try { FileWriter fr = new … | |
Hello , I have a 2D array. It has two columns. I have to find the top 3 elements of the second column and return the corresponding elements of the first column. for example say the 2 D array is as follows: 1 0.33 2 0.4 3 0.6 4 0.2 … | |
Hello all, Currently I am trying to create a program that prompts the user to select a file via JFileChooser, and then continues to use that file to gather information for objects. I have no problem selecting the file from JFileChooser, but I do have a problem reading the correct … | |
Hii.. I am doing project in java and i want to convert it to c#.is it any option available? Thank you.. | |
I have two pages one called upload-file.php, this page uploads the image into the database and my folder. My PHP page looks like this. if (move_uploaded_file($_FILES['uploadfile']['tmp_name'], $file)) { $insert=mysql_query("insert into match_item_image set item_id='".$_SESSION["session_temp"]."', image='".$name."', adid='$adid'") or die(mysql_error()); $cc=mysql_insert_id(); echo "success".$cc; My other page consist of a javascript function which displays … | |
hey people, I've been experimenting with some new (for me) java techniques, like keybindings. i've got a small app, where the bindings work fine, untill i press a JButton with actionListener. the actionListener doesn't do anything at all, but keybindings fail after i press one of them. here's my code … | |
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.. | |
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 … | |
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! | |
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 … | |
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 … | |
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 … | |
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 … | |
ArrayList<String> cs = CourseAssignments.getInstance().getStudentCoursesByName(sname); %> <table border="1" cellspacing="1" cellpadding="8" bgcolor= #EBDDE2> <% Iterator<String> i = cs.iterator(); while(i.hasNext()){ %> <tr> <td><%= i.next() %><input type= "radio" name= "courses" value="<%= i.next() %>"/></td> </tr> <%}%> </table> <center><input type= "submit" value= "Submit"></center> </form> <%} In ArrayList cs I have all the courses that a student … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
i am making a application using java swing drag and drop property how can i add a calender without coding | |
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 … | |
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 … |
The End.