32,199 Topics
| |
I'm using the java DnD class...I found this programm as an example that could help me understand it better..While dragging the image...the cursor changes its shape..but what i want is the image being dragged instead of te cursor...that is i want to replace the cursor with the image while i'm … | |
I would just like to know how you get a JComboBox to display all the fonts currently on the system without having to type it one by one. Urgent help would greatly appreciated. | |
Hye..Anybody can help me? I need some help here.. Below is program 1 (main program)[CODE]import java.util.*; public class Staff { public double weeklyIncome, monthlyIncome; public String name, staffId; [B]/*how to code the input method to read the staff name, staff id and weekly salary from a keyboard?*/[/B] } //Program 1 … | |
Im just trying to figure out why I have a array out of bounds that all can somebody help? [code=java] public class Life2 { public static void main(String[] args) throws Exception{ boolean dead; int winsX = 0; int num = 1; int count = 0; int countL; int countD; char … | |
Is there someone that could answer questions concerning the HibernateTravelApp tutorial. I have written it a couple times per the tutorial and I am presently remodeling it to fit my own MySQL database. If there is a convenient way to transfer this data base along with the .zip of the … | |
ok, so, we have to make a program that displays the date 100 days from today, the day you were born, and the date 10,000 days after your birth date. I've done all that, but i want to take it a step further, i want the user to be able … | |
I would like to ask your opinion[s] about how to approach the problem of generating Swing application UIs at runtime. And, to start: I am writing a Swing client application - not an applet and not a browser-based application. My IDEAL user experience would be to simply display DHTML in … | |
hello! is there a method or class that lets you assign events to the keys of your keyboard (spacebar to fire gun)? and is there a way to measure how long the key was held down? thanks!!! any help is greatly appreciated.. ive tried google-ing it but i had no … | |
I am getting an error when I try to install java on my computer that I just installed windows xp home. the harddrive was formated when I installed xp . It gives me this error "error applying transforms. Verify that the specified transform paths are valid" How do I correct … | |
please help me.. m in final year MCA student.. i have to do a project on c-quiz application in Java[/U][/B] as front end and Oracle as back end.. if anyone can send me the source codes to <email snipped> | |
I'm working on a school project and I need some help. The below works, but when I click on the "Report" button I want my data to print to a new frame. I'm not sure how to do this. Do I use a JFrame? if(arg=="Report") { try { DataInputStream readinput … | |
I am trying to read in a group of numbers from a users input through a console after the sentinel value of 0 is entered then I need to output the largest integer put in and the next largest. I can get the largest but not the next largest. What … | |
Hello members, Am new in programming can someone help me and solve this for me i have tried and failed since last week. Thanks. Develop a simple application that, when run, Welcomes the users and tells them the name of the last person to run the application, this information should … | |
Hi I am trying to get some images (10 frames per second) from a webcam so that later I can detect the moving objects.. My code is the following but I dont know how to change it so that I can get 10 frames per second.Any help? package video; import … | |
Hi guys, I'm about to make a choice for my career and I want to know your opinion about it. I just graduated CS in Romania and I now have 2 distinct employment possibilities: 1. Junior Java Developer- one of the clasic paths for the fresh CS graduates 2. Junior … | |
Hi.. please help me.. i dont know much about java.. but i have to do a project Order processing System in java and oracle.. This project is only for shop keeper its not online.. It shoul have two categories 1)Order procsesing where it should take orders from customer for a … | |
i need help writing a program where i input a Cent vaule and it should give me a value in how many ways can u create change for it in half dollars,quarters, nickels, dimes, pennys. for example if i typed 100 which is one dollar it should say 292. this … | |
I really need some help in my Java Programming class. I am in the last week of my class and our final requires us to compose and compile an Inventory program. Please respond if you get this. I will be working on my project all night. My AIM is ash22ambition … | |
heLLo everybody!!! we are discussing java OOP's now!!! mainLy about Interfaces, Abstract classes and etc!!! weLL.., i would like to ask if you could give me some examples regarding this one!!! such as implementing interfaces on my main program!! the more complex the program is.....the more i want it!!! i … | |
Hi all, I am working with POI API. I am reading an excel worksheet and done some modifications using poi and saved the new file into different location.while writing into a new location the exist file removes the blank sheet which are not used by the program using workbook.removeSheetAt(index).When i … | |
please anybody tell me how to send message from pc to mobile from internet using java | |
hello im john rico a com sci student could anyone help me to make a program that has three equation and three unknown pls. | |
oh no! i double posted the thread! how do i delete one? sorry | |
Okay im working on this game and all the code was in JSE 1.2 i just updated to that new package with the NetBeans IDE 5.0 and wh atnot inside it which is very nifty actually problem is all of my code when put into project files wont find any … | |
1 121 12321 1234321 123454321 12345654321 1234567654321 | |
[code] <id column="PERSONID" name="personId"> <generator class="increment"/> </id> [/code] What is this animal? is it setting a primary key? like wise [code] <set cascade="all-delete-orphan" inverse="true" lazy="true" name="trips" table="TRIP"> <key column="PERSONID"/> <one-to-many class="travel.Trip"/> </set> [/code] is this setting up like a file or list or something that uses like attributes? taking the … | |
private void buildPersonOptions(){ List<Person> personList= null; } I put this code in and it asked to import the class Person. as far as I know there is a null list(personList) of the type List. so why is the List have this thing? <Person> is what? -Steve | |
[code=java] import javax.swing.*; import java.awt.*; public class CreateToolbar{ public static void main(String[] args) { JFrame frame = new JFrame("Create a toolbar Which have three buttons Such as: Cut, Copy, Paste"); JToolBar toolbar = new JToolBar("Toolbar", JToolBar.HORIZONTAL); JButton cutbutton = new JButton(new ImageIcon("cut.gif")); toolbar.add(cutbutton); JButton copybutton = new JButton(new ImageIcon("copy.gif")); toolbar.add(copybutton); … | |
Suppose i have a JPanel 5x5 and the layout is GridLayout(). It's possible to switch cell between each other? | |
[code] Query q =session.createQuery("from Person"); [/code] ? so there is a Query q named "from Person") I don't understand how the actual query reads(via SQL). Can someone explain this code: because clearly there is a personList and a personOptions of the type Option[] the size of personList.size() and the 4 … |
The End.