- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 14
- Posts with Upvotes
- 13
- Upvoting Members
- 11
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
I have written the code for the following problem and would just like some feedback before I move on. The problem states: [QUOTE]Write a class names TestScores. The class constructor should accept an array of test scores as its arguement. The class should have a method that returns the average … |
|
Hi, I'm considering writing a java applet that has a chess board and lets people solve puzzles. There are chess engines that are free that could be the AI to play against and they come in executable files (console apps) compiled for both Mac and Windows. Now i have a … |
|
Hi, I m new to android mobile appn devlp. Pls suggest me study materials for that. I hav 2 years of xprns in core java appl devlp. I want full detail of 1. how to learn ? that means where to start ? 2. simulators or emulators available 3. Text … |
|
|
Hello developers, i have got a problem that i have been trying to solve all day and would be glad if anyone here can help. I have a Java port scanning application which scans for open ports and displays the results in a textarea called "taOutput" when the user clicks … |
Hi there, I'm currently a student in an intro to Java course at the college level. I've been doing well all semester, but I've ran into trouble with our latest lab. It's a bonus lab, so naturally the content wasn't covered in class. After playing around with what I found … |
|
http://en.wikipedia.org/wiki/Schizophrenia_and_smoking > Studies across 20 countries show a strong association between schizophrenia and smoking.[1] For example, in the United States, 80% or more of schizophrenics smoke, compared to 20% of the general population in 2006.[2] > Though it is well established that smoking is more prevalent among schizophrenics than the … |
|
Hi , i would like to include a normal conventiional function in to my obcetive c project. I have tried putting the body of the function outside the implementation section , inside the @implemenation section. I know it wont be part of the class i'm defining , but do i … |
|
I was wondering if you could give me advice, do i need to be extremely focused? also what do i start with, where do i start? |
|
I am thinking about studying about mobile development... and I want to get an editor for the iPad. I thought about DietCoda, Koder, Gusto, or textastic... what is the most prefered choice out of all of them? Probably DietCoda since it is the updated version of coda 2? And if … |
|
Hey forum, I've recently started doing research on this topic but to no avail as i'm not getting the answers I wanted so I'm here once again: My question: I need to develop an application to run on a normal desktop, but as an extension we would like to run … |
|
According to the boffins at Kaspersky Lab, users of Android devices running Gingerbread (Android 2.3.6) and Ice Cream Sandwich (Android 4.0.4) are targeted the most by cybercriminals. Gingerbread accounted for 28% of all the attempts to install malware that were successfully blocked by Kaspersky, while Ice Cream Sandwich accounted for … |
|
I've been tinkering around with my first IOS project that basically is a chat client right now. It connects to a server and lets you read chat and send chat. I want to next let the user isolate some chat in another page on the story board. They might choose … |
|
i create a program using java and jframe. now how can i put it on desktop so that i dont have to keep on opening eciplse to run the program. is there a way to put it on desktop with a icon. so i can click it any it will … |
|
I have a Java application i've written, it's a chess client that i've done as a hobby project, and it has a main applicatoin window and all the windows are contained in that. I've had a number of requests from mac users that they'd like to see it converted to … |
|
I initialize the selenium like [CODE]public void setUp() throws Exception { setUp("http://localhost/", "*firefox"); } [/CODE] and I write my test in the method like [CODE]public void testUntitled() throws Exception { boo(); foo(); }[/CODE] But it gives error like [CODE]java.lang.RuntimeException: Could not start Selenium session: Failed to start new browser session: … |
|
Hi, On windows, i don't see a maximum button on my JDialogs and this is fine, but on a Mac I have this dialog that people can keep up and use other windows, but you can also maximize a dialog on a mac apparently. There is a maximum button. At … |
|
Ok, 2 questions. 1. I have an applet, but it is IN the page, like, part of the HTML I think, how do I get it to like "pop up" and be its own window. It will eventually become a game tool, so it would be easier to use if … |
|
At present i have a folder lantern with files lantern/*.class or java also in lantern are graphics folders. lantern/img with files /lantern/img/image1.gif for example The folder lantern folder is in is called build and its in my class path. each file in lantern/*.java has package lantern; i type java lantern/multiframe … |
|
Hi, I have a frame and it contains some different JInternal frames. I have a request that some people want some of these frames to be free floating, and not confined within a desktop. Is there any way to do this with JInternal frames? Or is there any way to … |
|
I have found out a program similar to mine, a chess interface, named jin, jinchess.com, deploys on mac as an SDI program. This means all the windows are free floating and i think the menu is detached. Any idea how this is done? the same program deploys under windows as … |
|
Hey guys i have a weird problem but its probably something small. i have a hang man program that has no errors. i am using netbeans to compile my project but when i run it it nothing come up or prints out. i don't know what im doing wrong because … |
|
Hello, I'm currently a student in college and to get right to the point - I'm having a problem with figuring out the logic of making the program. This is how I want my interface to look TOP - MasterMind : Probably JLabel CENTER - Where you set each guess … |
|
Hey Im having a hard trouble drawing in a Java window so if there is a plugin that shows the coordinates in a Java window when I hover my mouse over that spot it would make my coordinate easier. |
|
after compiling it this errors came out, what do u think is the possible solution for this? thanks! Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 9 at accountinfo.<init>(Main.java:73) at accountinfo.main(Main.java:142) [CODE] import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*; class accountinfo implements ActionListener { private JFrame f3; private JButton jLogout; private JPanel … |
|
public int getInput() throws IOException ........more codes here in between return activity;//activity is an array The error is this: '.class' expected |
|
i m not very clear about constructors,and different types of variables like:instance variables,local variables,etc,setter and getters. can u plz help me to distingush between all of them with examples? |
|
hi, I have the line of code: [code=vb.net] xlWorkBook = xlApp.Workbooks.Open("c:\mydocs\full_info.xlsm") [/code] my problem is i want to load the file without a full path, "full_info.xlsm", but i can't seem to find the right place to put it. i have the program name directory which contains folder 'bin' 'myproject' 'obj' … |
|
Hello all: The task is to: Create a row of Alien attackers, class RowOfAlien, patterned after the partially filled array. Put five Aliens in the row. When the row hits the left or right of the screen, the Aliens snake downwards (see demo). Note that this is different from the … |
|
I'm a little self taught at java. I have a package: package: package org.newdawn.spaceinvaders there's folders like org and newdawn are created and nested. the main is Game.java at end of those folders. How do i run it? i went to the end folder and typed java Game that didn't … |
|
I figured out how to make indentation with [code=java] SimpleAttributeSet style = new SimpleAttributeSet();// = doc.addStyle(null, null); StyleConstants.setLeftIndent(style, 12); StyleConstants.setFirstLineIndent(style, -12); [/code] and then use doc.setParagraphAttributes(doc.getLength(), 1, style, false); after the insert into document. now numbers there doc.getLenght(), 1, i've been changing around but always same issue. The problem is … |