32,204 Topics
| |
hello .... I need a java code that convert from eqn ( or bench ) format to verilog format.... Does anyone has an idea?! Thanks in advance.... | |
[code] Hello, I am writing a small java code which read from a text file line by line and parses each read line(hash seperated). Here is the code snippet: in =new BufferedReader(new InputStreamReader(new FileInputStream("file.txt"))); while((linedata =in.readLine())!=null) { System.out.println("Linedata: "+linedata); strparse = linedata.split("#"); line = strparse[1]; System.out.println("Line Number:"+strparse[1]); } the data … | |
Hi.. I'm creating a media player using JMF. I want to play several songs in a sequence one after another. How to detect when a song has finished playing? Regards, Mel | |
I'm trying to make a level that can be edited in game for a pong-like game. So far, this is what I have: [code] import java.awt.*; import java.applet.*; public class LevelEditor extends Board { public static final String row1 = "::::gggggggggggggggggg"; public static String row2 = "::::g::::::::::::::::g"; public static String … | |
Hello, I have this problem with slider (jQuery) which contains scrool bar. In Firefox when slider is clicked, it slides to the left, but leaving trace of a picture over the video. The link for the page is [URL="http://gewiss2.digid.tv/"]HERE [/URL] Click on any of the videos at the botom of … | |
Hello everyone, I am completely new to this website and happened to have come across this while browsing. I am stuck up in my project and just need some help. I am developing a system for my client which is a non-profit organization htat run local trains in our area. … | |
i am making a simple calculater , and know think i doing correctly but when i compile it it has error like this Exception in thread "main" java.lang.Error: Unresolved compilation problems: Syntax error, insert "}" to complete SwitchBlock Syntax error, insert "}" to complete Block Syntax error, insert "}" to … | |
hi friends i want to use php code with JS functi:$ on, please help me | |
write a gui program to compute the amount of a certificate of deposit on maturity.the sample data follows: Amount deposited 8000.00 Years 15 Interest Rate 7.75 [B]Hint: compute 8000.00(1+7.75/100)to the power of 15[/B] | |
Hello all, I'm writing a program that gets an input string entered and I was wondering if there is an exception thrown so that the string is valid only if it is all letters. I can find exceptions thrown for only doubles, int.... as valid input but none for only … | |
Hi, I'm looking for some assistance to begin coding in Java, and I don't really know where to begin. I'm still attending school, and will be taking Java as an elective, but I still want to try to get a head-start, because I am very proficient in math, love (and … | |
Well, I need a pretty simple code (Lempel-Ziv-Welch compression algorithm) converted from Python to Java. I don't want to run JPython because I don't need it to be interpreted as Java, I need to interpret it myself because I use a scripting language similar to Java, but not exactly the … | |
I am new to java coding.I m struggling to make a below project. Can u plz. help on this project. Doctor Online Discussion Form This System is mainly used by Doctors, Dentists, Optometrists, and any medical professional. Medical Professionals use photos on a daily basis in the practice of medicine. … | |
here is the question. i have done half of it. > a company has 4 sales persons, who sell 5 different products, once a day each salesperson passes a slip for each product sold. > the slip contains: sales person no., product no., total cash value for the products sold … | |
Hi, I am trying to put a date in my class which is 2 weeks ahead of the current date. The problem is that is shows the date as april not may? Any help would be much appreciated. Thanks in advance Below is the issue.class in question [import java.util.*; public … | |
hi guys i am trying to create a button that sends all the data returned from my ms access database into the fields of my jframe to the printer for a hardcopy, i have created a button to exit the frame, but now i am having difficulties creating a print … | |
import java.io.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.util.Random; public class snake1 { public static void main(String args[]) { String name1= JOptionPane.showInputDialog("Enter Player one's name"); Windows myW=new Windows(name1); myW.setSize(800,600); myW.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent event) { System.exit(0); } }); myW.show(); while(true) { myW.repaint(); try{Thread.sleep(60/myW.getLevel());}catch(Exception e){} } } } … | |
..I made a simple project in java using JCreator.., this is my first time to make a project file,. I made a class named put_data in w/c will put some data in my database then, I made also another class get_data in w/c will get the data from my database!.. … | |
Hello friends, I want to overlap two JPanels at same location in the same frame... by clicking button on the same frame. If one panel is setVisible(true) at the same time if I click button and this Panel will be setVisible(false) another will be setVisible(true) but that does not resolve … | |
Hello, Im new to Java Programming, and Im trying to create a Web Applet of a Income to Debt Ratio calculator. I think Im missing a Math code, because when i run the applet everything works except the when I click calculate it says my debt to ratio income is … | |
Hi: I'm having trouble trying to place images in a Java GUI. Basically, I have an array that contains a 52 card deck in String form, and whenever I call one entry from the array, I want to display a gif image of that card. For example: [CODE]if(cardarray.compareTo("King of Hearts")==0){ … | |
Help please! I need help putting the timer in the event, and putting it in the class. I am having problems with the class particularly the scoreboard timer. I believe I figured every thing else out..Please view attached. | |
I am not able to click on the menu choices and have them fill out the form. I also am not certain that it is reading from the text file. Can someone check and let me know what I need to change in this program? [code] import java.awt.*; import java.awt.event.*; … | |
Which functions can help me to convert a DATE() into a double or integer number? Can i convert a Gregorian intro Julian date? Thankyou. | |
i want to Write a program that can serve as simple calculater in java programing that can add , subtract , multiply and divide this example that i want to it look like Calculator is on. Result =0.0 +5 Result +5.0 =5.0 New result =5.0 *2.2 Result * 2.2=11.0 Update … | |
i need to convert this JApplet program into a JFrame, but dont know how to do it, can anybody help me please? [this is extremly urgent as i need to have this done by tuesday] [code=language] /*Game.java 5.5.08 This program, Game.java, is an educational game that tries to allow the … | |
Hi everyone I need to hand in this assignment today :( Im trying to read from a file and read it onto the screen, my code keeps showing up an error saying 'java.lang.NoSuchMethodError: Main' Here is my code: import java.io.*; import java.awt.*; import java.applet.*; public class Empty_3 extends Applet { … | |
I need to read in text randomly from a text file, so does anybody have code for that? pretend the text file is called CommunityChest.txt i prefer the use of the scanner class or the use of text readers thank you! the text file is included below if anybody needs … | |
hi Iam sujith , and i have done B.Tech in information technology and iam at presently working for a small company for 1 and half years. and now i want to switch to a better company . i have applied for many , but no response are comming , my … | |
I currently am on IE , but dont know which version. I believe its 7 but im not positive. For the last 2 weeks ive not been able to click on certain links (mostly myspace links but others as well) For instance, Ill click on it, and on the bottom … |
The End.