682 byte By
martin1 at 2007-11-20 7:56:57
hi all,i m making an application in which i m using the GUI as Java applet now my problem is that i am getting live data from a server which is implemented in VC++ .plz do sujjest me .i m explainin my problem as follows i am making a frex trading application in which the user interface i am using is...
2250 byte By
jetru at 2007-11-20 7:58:14
Its so straight forward. yet my window never shows! I cant figure it out!import javax.swing.*;import javax.swing.text.*;import java.awt.*;import java.awt.event.*;public class GUIpart { //All ze variables required int tempboard[][]=new int[9][9]; SudokuBoard fresh= new SudokuBoard(); JFrame sudok...
636 byte By
gandalf6 at 2007-11-20 7:59:00
Im writing a code to give the factorial of a user entered number, that part works fine my problems are this:whenever the code loops around to enter another number, teh variable keeps the value of the last number, how do i rest it so its back to 0 when the user starts again?i want to add a section wh...
776 byte By
wangcow at 2007-11-20 7:59:02
Hello, I recently downloaded and started getting into java, and I made my 'HelloWorldApp' Applet perfectly fine with no errors. Now when I run my 'HelloWorldSwing' Applet, I get a Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorldSwing <wrong name: start/...
Please tell me how to take print out in java by using swing and awt??<br/>Reply me on rohit_deshmukh11@rediffmail.com
I am using crystal report xi and jsp and oracle in my project.when my database has been send to my client,the data source location has to be pass through the jsp code. when i change the data source location in the jsp, crystal report was displaying in the browser without showing any excepti...
well i have to create a for loop that acceses all elements of :<br/>int [][] a;<br/>how would i get a for loop to access every element of the array of arrays, and how does the loop work?<br/>thanks heaps
1229 byte By
ash8ley9 at 2007-11-20 8:00:37
I was assigned this program last week while I was absent and sick. It is due tomorrow and I don't have the time to figure out how to do it. If someone can do it for me CORRECTLY and can send it to me by 5:45 pm Central time today I will pay $5 to his/her paypal account. Thank you...the assig...
Hello,<br/>if i have in my Test.txt<br/>4<br/>6<br/>3<br/>it's possible to read for example the second line or the last line ... ?? <br/>THX
332 byte By
tarunk at 2007-11-20 8:01:32
Hi All, my first post in this forum. I am trying to make java as a client for my ATL COM DLL. I have been reading several post about it. Is that true that there is no straightforward way to link these two? Should i use a third party program to bridge the gap? so what is jne and j# can do?anyone plea...
2767 byte By
alimirmd at 2007-11-20 8:01:35
Hi,I am new to this forum.My program is something like this: java.util.Vector v1991=new java.util.Vector(30); int f1=1; int f2=10; v1991=mb1.Sel(f1,f2);// Here,mb1 is the bean and sel is the function where I select the // records between employee number f1 and f2 if(request.getPar...
Why would one use the assert statement? What is it's purpose? Is it used for testing?
481 byte By
zhshqzyc at 2007-11-20 8:01:45
Many of today's applications use a multiple-document interface--a mainwindow (called the parent window) containing other windows (called child window), to manage several open documents that are being processed in parallel.What I confuse is the concepts of panel, frame and layout.Is a parent win...
563 byte By
Martin O at 2007-11-20 8:01:56
Does anyone know where I can find an autocomplete combobox that works like Internet Explorers address bar? Already implemented that is? Or any tips on finding one?I found one at swinglabs.org, but its not exactly what I want (it doesnt open up a restricted list, it instead opens up the list & naviga...
I have some images file in the server. Can i use PHP to make the page showing the thumbnail of those images?<br/>Thank you.
Hi,I Have a table in which Iam rendering the column(the 0th column), to make it look like a Fixedcolumn.Iam doing it as follows: public void setFixedColumnRenderer(JTable table,TableColumn fixedCol){ fixedCol.setCellRenderer(new FixedColumnRenderer(table)); } public class FixedColumn...
1451 byte By
Mackiv at 2007-11-20 8:03:16
Hi guys,I have to make a java game, but the problem is that I have very little knowledge of java! My game that I have in my mind is kind of like a defending an object like game. So you start off as a square in the middle of the map and there is a small Vase in the middle which you have to defend aga...
I have just been given this assingment, and have made the display menu! lol. i really have no clue as to what i am ment to do next, but need to do it within 5 weeks to pass my course, please can i have some serious help?Thank you guys nd gals, much appreciatedDesign a program that supports the range...
514 byte By
vivendi at 2007-11-20 8:05:19
Hey, i tried to create a button in a java application but something went wrong. The button is created on the dialog only the text in the button is '...'How can i set a custom text for the button?This is a part of my code: keyPad = new JButton[11]; keyPad[0] = new JBut...
192 byte By
Johniem at 2007-11-20 8:05:32
I want to create a service in axis2 so when a client request an operation from it, other clients can see the changes in the service instance...Is that possible?Any ideas on how that will be??
Hi<br/>how to access an application server and get the version number of the jar files in that server ?<br/>I am beginner in java<br/>Regards
433 byte By
martin1 at 2007-11-20 8:05:57
i am having a application in which there is a frame having two internal frame suppose i am doing changes in one one internal frame and reflect the result in another internal frame then for that i am using observer interface.My problem is that i am going to use this application in distributed envirom...
743 byte By
hensa22 at 2007-11-20 8:05:58
hi.I have a problem I want to compile a java file but i can't..java file is placed at folder ...src\java\validation\ValidationUser\ValidationUser.java and this has code 'import'. package ValidationuUser;import User;public class ValidationUser { ...} and User.java file is placed at...
As Applet is a client side application... i would like to know if it's possible to use applet to access the web server for accessing, deleting or uploading files? If so, what can i do to achieve it?<br/>Thank you.
5333 byte By
gandalf6 at 2007-11-20 8:07:30
Im writting this code for a class, this was due last week. My original program got a bad grade, so i thought to help me understand it better i would try writting it again. But i hit a minor snag i was hoping you guys could help me with.heres the coding:package rmenu;import java.awt.Toolkit;import...
1021 byte By
milliamp at 2007-11-20 8:07:33
I need to install a (any) development environment to do some real basic stuff with Java.I installed jGRASP and compiled the followingclass HelloRusty { public static void main (String args[]) { String name = "Rusty"; System.out.print("Hello "); System.out.println(name); }}And...
32 byte By
Mackiv at 2007-11-20 8:07:40
Dont worry guys, its resolved :)
404 byte By
zifeer at 2007-11-20 8:08:05
Hi,I have a JTabbedPane with 3 tabs (each tab has a JScollPane which has a JTextArea). I want to be able to display a certain tab on a button click. For example, I'm currently looking at tab1, I want to see tab2 when I click on button1 for example... I looked at JTabbedPane's documentation...
195 byte By
zifeer at 2007-11-20 8:08:06
I want to output some information about the CPU on a computer. I found out how to display System information but not CPU. If it makes any difference, I'm using Windows.<br/>Thank you :)
I have downloaded java mail client program class files from the page at this link http://www.java-tips.org/java-se-tips/javax.swing/how-to-create-an-e-mail-client-in-java-2.html . And I downloaded Javamail api. I compiled the files and run the program. in the connection settings panel, I can not co...
2023 byte By
Hendrick at 2007-11-20 8:08:34
Hi,I'm in the process of making a 2D Asteroids clone.I've managed to rotate the ship via g2d.rotate(rotate.getTheta(), ship.getX(), ship.getY()); and move the ship via g2d.translate (shipVelocity.x, shipVelocity.y);.My problem is that I want the ship to continue moving (translating) withou...
208 byte By
corrupt at 2007-11-20 8:08:46
Hello everyone. I want to create console menu in java where you can navigate through menu items using keybord arrows, i.e. press up to highlight upper menu item and press down to highlight menu item under it.
574 byte By
gents at 2007-11-20 8:08:47
Hi,I've developed a J2ME game, and now I want to test on every existing phone supporting MIDP 2.0 and CLDC 1.0 or higher.How is it possible?!Could you try it on your mobile phone and tell me on which model you try and if you get it work?!You could find it here: http://www.gents.it/FILES/MisterP...
369 byte By
Hendrick at 2007-11-20 8:09:18
Hi,does anyone know how to recreate the bouncy ball effect in this game (Tangerines): http://www.kontraband.com/show/show.asp?ID=6282&NEXTID=0&PREVID=6435&DISPLAYORDER=20070510122927&CAT=games&NSFW=0&page=1&genre=0&rating=nsfw_sfwThe most I can do at the moment is Pong-like rebounds off the wall...Ki...
Hello all, this is my first post and i'm not really supposed to be on forums as I am in school right now, however I have clearance from my teacher to use forums! (**** netSweeper to hell).Anyways, I am building a Text based RPG with a GUI (just a basic one) with some friends as a final project...
271 byte By
bluehat at 2007-11-20 8:09:43
Hi java experts!<br/>I'm planning to implement a sound chat feture for the web using Java applet. I'm using PHP as backend language<br/>Can sb tell me how to approach the problem and whether I need some extra software on the server in addition to PHP?
440 byte By
Hendrick at 2007-11-20 8:09:51
Hi,I want to be able to animate my Ball[] array (from my Ball class). The problem is that when I loop the move and draw, all of the balls come out in a swarm.I would like my balls to spawn in irregular intervals as is this game: http://www.thegamehomepage.com/play/tangerine-panic/If anyone could gui...
--Help no longer needed.--Thanks for all the advice, it was very helpful. I removed the while loop and used action listeners to get input from the mouse. The way I was doing the full-screen graphics and double-buffering seemed to cause a lot of problems with the input so I rewrote the basic program...
Hi,I'm trying to retrieve an array name from a line of code given as a string codeLine. So for example, the value of codeLine may be something simple like:"thisString = thisArray[3];"or"System.out.println(thisArray[2]);"where the array is called thisArray. I'm trying to return the name o...
Hi, well heres my problem. Lets say you have a greyscale photo, and you have a method that goes through this photo and puts all they greyscale values into a 2d array with the [i][j] element corresponding to the x, y pixel value (the greyscale values are used for simpleCanvas, so all the values are b...
1635 byte By
elnar at 2007-11-20 8:10:53
Semmle has released a free Eclipse plugin (SemmleCode ( http://semmle.com/product/semmlecode/screenshots/)) that helps improving software quality by computing metrics, finding bugs, checking style rules or simply searching and navigating through the code.All these tasks are simple, concise code queri...
hi, i want the code in java to transmit a file(.txt,.doc,.pdf,etc) from one computer to another through serial port thx in advance
125 byte By
Johniem at 2007-11-20 8:11:17
How can i get the session id in axis2? I'm using application scope and i want to know if clients share the same session.
Hello,Is there any Java api to start/stop network service and to start/stop dhcp service:#/etc/init.d/network restart#/etc/init.d/dhcpd restartAnd, is there any api to put a machine as DHCP server or DHCP client. I know how to do it using system-config-network or by editing /etc/sysconfig/network-sc...
473 byte By
martin1 at 2007-11-20 8:11:36
Hi All,I am recieving the data from the server using SOCKET PROGRAMMING and inserting that data into the JTable after parsing it, but the data is not refreshing in JTable .If i use JOptionPane after adding a row then it works fine and table gets updated but if i remove JOptionPane then it is not re...
Hello im new to java and i need to put this in one of my projects as a logo... ____ _ _ _____ _ /___ \_ _(_) ___| | __ /__ \_ __ __ ___ _____| |___ // / / | | | |/ __| |/ / / /\/ '__/ _` \ \ / / _ \ / __|/ \_/ /| |_| | | (__| < / / |...
629 byte By
SarH at 2007-11-20 8:11:45
Hi,I'd like to convert my applet into an application. I'm not quite sure how so here's my code...Code is messed up, gonna post the code that works.I've tried looking for a tutorial for converting applets to applications, so any help would be great. Also I've been trying to a...
Hi,I NEED someone to help me out with java programming this summer. I'm taking a class online and I can't find anyone to help me out. I'm willing to pay people to help me out. I had to drop this class last semester because I didn't understand it, and I need to finish it this seme...
I have referred to the code in DropTest2 in http://examples.oreilly.com/jswing2/code/However, the source code it showed contains addWindowListener(new BasicWindowMonitor());and my compiler complains "cannot find symbol" of BasicWindowMonitor.I would like to know how i can solve it.Thank you....
I have 2 classes: Main.java and CreateAccount.java. When the aaplication runs, a JFrame displays with 2 buttons: Create Account and Login. When the user clicks "Create Account", I would like to display the JPanel from the CreateAccount class. This class has all the input fields for creating an accou...