36,051 Topics
![]() | |
Hi All-- I basically am trying to write a piece a piece of code for an application that will list all the open frames in the program, and if you click one, it is selected and brought to the top of the program. I have a menu bar, and I … | |
Thanks to those who replied. I have seen the light and corrected the problem(s). I'm set. Again, thank you. | |
I am attempting to learn Java and am having a time of it. I am wanting to write a program that will allow a user to input number...then output them in reverse order. If someone would be so kind as to look at it and provide me with suggestions or … | |
Hi mate...This is Andy here.... I need help in JAVA...I know nothing abt JAVA...& also very poor in programming..... The following is question for my assignment.Can you plzz help me out... Problem Situation You will write a small application which might be used by a shopkeeper to hold and maintain … | |
Also, my browser will not redirect to a new url when I click on a link. Also, I cannot print from ie, only from Microsoft office. I tried to go to windows update, but cannot access that site either. Here is my Hijack this logfile: Logfile of HijackThis v1.99.1 Scan … | |
I am new to Java and have ran this several different ways nothing works. My instructor is requiring that the BufferedReader be used in the program I am attempting to write. I can convert to doubles and can do String but it will not work with integers. (This method for … | |
Hi every one I am working in an appliction that lets the speaker get access to the rtp stream coming from an Ip telephone. The idea is to have all the soun of the telephone in the PC. I get the voice but I also get a horrible noise al … | |
Hi I am using Nokia SDk for J2me and am trying to compile. I do not know how to set the classpath. I set it by going to Control Panel -> System->advanced->Environment Variable. There I clicked on the Edit button after selecting the "CLASSPATH" variable My classpath is "C:\WINNT\System32\QTJava.zip;C:\Nokia\Devices\Series_60_MIDP_SDK_for_Symbian_OS_v_1_2_1\lib\Series_60_MIDP_SDK_for_Symbian_OS_v_1_2_1\j2me-debug.zip" BUt … | |
Hey everyone, I've got a recordset of terms in my page. I know the recordset has all the terms from the sql table within it because i can get it to print just fine to screen. I need to put the recordset into an array. That way, a script that … | |
greetings, i'm brand new to perl and trying to write a script to read a logfile for our weblogic server and write certain entries into a database table. the log file is a log4j weblogic log. here is a sample: [QUOTE]####<Jun 7, 2005 2:46:38 PM EDT> <Info> <Enterprise> <ga003sds> <tms1> … | |
Hi all... I have a JFrame, which contains a JTabbed Pane, which contains two JPanels. The problem is that when I run the program, a completely grey frame shows up, and the contents only becomes visible when I click on the border of the frame. Here is the code. Compile … | |
i know java, ive had two classes in it but ive only written it in notepad.. lol so here im trying to make an applet in netbeans and implement an action listener.. why do i get an error at my first line here: [code]import java.awt.event.*; import java.awt.*; public class applet1 … | |
hey, wanted to know if anyone knew how we would use a 'directed acyclic word graph' (dawg) to generate a computer players move in scrabble. Know of any algorithms, have you got any code snippets i can see? | |
I am very new to java and have to create a programme to average data. The scope is as follows: I have two .txt files with collumns of data: file1.txt is something like 2 xxx xxx xxx 3 xxx xxx xxx 4 xxx xxx xxx ... 100 xxx xxx xxx … | |
Hi there I am new to JAVA, I would like to create a line 2 pixels wide that moves across my screen. The line should be a bezier curve and should animate pixel by pixel. I would like to have 200 fps and four seconds from animation start to end. … | |
I’m here because my best buddy has told me to go into forum do discussed with people and reach to your resolution. I've downloaded ucertify java test software, next month mye xam will go. Less time, the TestKit provides 5 full-length exam simulations, containing 285 questions, 150 pop quiz questions … | |
I'm new to Java and the Prof. asked us to create a program that prints out the Avg, Min & max of a set of Array values and I can't find a class or method that seem to do this . Any help would be much apperciated!!!! :rolleyes: | |
Hello everyone, I just started learning Java, I like it so far because it is very similar to c#, which I am familar with. But I can't get programs to compile for me. It gives me an error saying 'Exception in thread "main" ' I am using NetBeans to compile … | |
heres an easy one..how do I make it... rob | |
Hi everyone, Take a look at the following code block. [CODE] ->Class InterruptionDialog public class InterruptionDialog extends JDialog { //Fields Thread currentThread; JButton interruptionButton; //Constructor public InterruptionDialog(JFrame parent, boolean modal, Thread t) { super(parent, modal); currentThread = t; interruptionButton = new JButton("Click to interrupt"); interruptionButton.addActionListener( new ActionListener(){ public void ActionPerformed(Event … | |
Hi, I just recovered from Ad-Watch clobbering my registry, but now I find that Norton Utilities has had email protection removed and auto-protect disabled, switching from enabled and active about a second after I load it, and I can't re-enable them afterward. A scan by Ad-Aware, Norton and AVG all … | |
I started over with reading my certification book, and I'm now on page 113. It says that an interface can extend one or more other interfaces.....I thought you could only extend one thing, or do they mean the interfaces that the extended interface extended? | |
So, in my applet, I need to run two threads, each using the same "communicationDriver" class: comIn, and comOut. Each has a socket connecting to port 2002 and 2001 respectively. I init my applet as such: public void init() { javax.swing.SwingUtilities.invokeLater(new Runnable() { public void run() { makeGUI();}}); } Then … | |
I'm seeking for java2 certification. I downloaded ucertify product. Question are on right quality. 150 challenging practice questions have been included to closely model the format, tone, topics, and difficulty of the real exam. If i purchased it before release then i could have able to got 40% discount. Test … | |
I have an applet that needs to have a sending socket and a receiving socket, each unidirectional, on ports 2001 and 2002. now, i tried making each one in a thread and it did not work. can someone give me a code example as to how to do this? i … | |
hi guys, im in my first few weeks of working with java, and am finding it hard to complete an excercise i've been given. We are working with a java program that works over 3 files, and we have to "fill in the blanks". trouble is, i don't know what … | |
I’m here because my best buddy has told me to go into forum do discussed with people and reach to your resolution. I've downloaded ucertify java test software, next month mye xam will go. Less time, the TestKit provides 5 full-length exam simulations, containing 285 questions, 150 pop quiz questions … | |
Hey I'm trying to write a program to make a simple Tic-Tac-Toe Program. I just started coding it, so this is my rough draft version, i haven't worked on lots of checks i know i need to do later. However I have a big problem I cant seem to figure … | |
I need a better JSP Discussion Board. The site that I have came from a pre-built software. I had to do a lot of extra coding to change things up but I am having a hard time with the Discussion Board. Everything is in .html and .jsp pages. The Discussion … | |
Hi, I seperated the layout with struts tiles. Now my question is how can I add scrollable feature to the left panel. Although it is inside the table as: <td valign="top" height="100%" width="100%"> <table cellpadding="0" cellspacing="0" height="100%" class="st08"> <tr> <td height="100%" valign="top" style="border-right: 3px solid ;" > <tiles:insert attribute="left.panel"/> </td> … | |
I want to start studying for the scjp exam but I'm not too sure where to start... Does anyone have some good book or link suggestions? | |
THIS IS MY CODE, at the end is the nullpointer error i get....hope you can help me.... public class CuartaApp { // These fields are read in from the application.properties file. This file // must be populated with a valid IP address for Avaya Communication // Manager, as well as … | |
HI, I am trying to implement a scrabble computer player that is capable of beating a human player. I dont not know how to go about starting this project (other than designing a GUI for the game itself). Any advice on how i would store and search the dictionary quickly … | |
Does anyone have a few good sites that give you some practice java questions? I'm not tallking about java certification questions, just regular old java questions about the language. I need a lot of them, so please post as many sites as you can. | |
HELLO THERE..I AM WEBTV HOWEVER I DESIGN WEB PAGES FOR CHRISTIAN MINISTRIES FOR FREE..I TOOK ON A CLIENT WHO HAS A JAVASCRIPT TABLE FOR SELLING BOOKS AND TAPES...SHE HAS ASKED ME TO ADD TWO ITEMS TO THE LIST....I MADE THE ITEMS # 14 ,#15, AS YOU WILL SEE...HOWEVER WHEN I … | |
Guys I wish I would have known of you a month ago! Apr 15 I contracted a very bad virus which I thought I'd gotten rid of until a week and a half ago when it seemed to reappear. Then I got it through an online radio station via MS … | |
Hi folks...I have a Class called Model which I am using to iterate through a string, tokenize it, and then access a method in my GUI class which is supposed to change the color of the borderLayout panel. I am getting this error. I have tried to make me Model … | |
Hi, I wrote this program and I was wondering if there was a way to save the picture I'm creating using the graphics class. Here's my code: [CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; public class paint extends JFrame implements ActionListener { private int pointCount = 0; private Point … | |
Hi everyone, I am doing a custom document in which i am always getting an error at the point when i want to use the java HTMLReader class. The compiler says something about an enclosing instance and i really have no idea what the compiler means. Here is the code … | |
HELP ME PLEASE!!!!! I am developing an aplication with an API for getting my engieneering degree. I have to use a deprecated class because there is no other tha can make what i need. But I am havin lots of problems with the configuration and i keep getting warnings of … | |
How can I generate a random boolean? Is there a method for this? Thanks in advance | |
Hello everyone, I want to run tasks with priority, i.e. among several simultaneous running tasks, the task with the higher priority will have more chances to occupy CPU time. I have the following 2 issues dealing with the implementation of such feature. - To define each task as a thread … | |
Hi! to everyone I'm starting out in programming,I need help to develop a class diagram for a Shape class. Include generalizations for child classes Rectangle, Circle and Triangle. Please can you help me here!? Eager Student | |
i am lost on this assignment i have 2 problems 1 is printing using for loop and the other is i can not get a to count. Would gratly appreciate any help. Here is what i got below is the desired output....... import java.util.*; public class Lab3_Count { public static … | |
Hi Everyone! THis is my final program :D Of course it's not done...but I just wanted some feedback...and any ideas on how to fix my GUI XD...Any help is appreciated ^^. BUt please don't copy lol XD I don't want to get accused of cheating here...if giving out this code … | |
I need help with a basic interface design, I also need help with the java docs. The project is a booking system which works ok but needs an interface and maybe some tweeking. I am just a beginner with Java but would imagine this project is possibly half a days … | |
I'm having difficulty determining the correct size of a JDesktopPane. The following code tells me that the size of the pane is 0 x 0 //Inside a JFrame JDesktopPane myDesktop = new JDesktopPane(); this.setContentPane(myDesktop); System.out.println(myDesktop.getSize()); However, after looking in the source for GridLayout.java, virtually identical code is used. //Inside GridLayout.java, … | |
Well the title prett much tells you what error I have XD... so far.... [PHP]JLabel label1 = new JLabel( "AIRLINE RESERVATION", SwingConstants.CENTER ); JPanel panel1 = new JPanel(); panel1.add( label1 ); tabbedPane.addTab( "RESERVING", null, panel1, "FirstPanel");[/PHP] then heres the problem.... [PHP]mealComboBox = new JComboBox( meals ); panel1.add( mealComboBox ); mealComboBox.setBounds( … | |
Hi Guys, anyone know of anybody looking for a gig doing java that has more than 2 years (or knows java and is just a real whizbang :) ) If so maybe you could have them send me an email [email]igf1@yahoo.com[/email]. we can tqalk about the details. its telecom 40 … | |
I need to produce two methods for a class. The method name and details are given but i dont know how to create the code for them to work: 1st: public int daysElapsed (int day1, int month1, int year1, int day2, int month2, int year2) This method returns the number … |
The End.