32,204 Topics
| |
Alright I have been using the setSize method for the JSlider to try to set it's size but it seems to be having no effect what soever. I have the JSliders instead a JPanel that is using a GridBagLayout, the JPanel is then being adding to another JPanel which uses … | |
Can anyone suggest me how should i remove java.shinwow.BA? It was only detected by my zonealarm. However zonewalarm is unable to remove it. Can someone help me? Is it a virus? | |
Anyone here got this [URL=http://www.sesfocus.com/education/catalog/CX-310-035.html]java certificate[/URL]. | |
i download a evaluation version of weblogic6.1. It gives me the following exception when I start Weblogic $$$$$$$$$$$$$$$$ License Exception $$$$$$$$$$$$$$$$ Unable to start WebLogic Server !! Missing license file for: WebLogic Server 6.1 $$$$$$$$$$$$$$$$ License Exception $$$$$$$$$$$$$$$$ Regards, Hemanth [url]http://www.javaprogrammingworld.com[/url] | |
Here is my problem: Create Two classes ProcessInt Class knows An array of integers ProcessInt class knows how to One constructor that will set the size of the array of integers Method to set the value of a particular array element Method to get the value of a particular array … | |
Can somebody please provide my with usefull info how to open internet browser from java program? The way how this should work, work cross platform & open default browser don't force certain browser I tried to use info from [URL=http://today.java.net/pub/a/today/2004/10/14/jdic1.html]this page[/URL] but couldn't get it work. Together with tutor we … | |
need to have an input of money to pay for an item and amount given. to return change due with denomination format: 20 dollar bills 10 dollar bills 5 dollar bills 1 dollar bills quarters nickels, dimes, pennies, etc. so far i got this: import java.util.Scanner; public class Cashier { … | |
Hi I am not able to set the position of Jpanel, having a tough time. Code is attached. 1. How can I reduce the gap between To and textbox Cc and textbox etc 2. How can I reduce the vertical space between Send/Contact/Spell/.... and the row containing To with textbox … | |
Greetings: I was wondering, how can i run a .class from a different location? For example, supose that i have c:\A.class, in MS-DOS supose that im at d:\whatever\whatever\, if i run java c:\A, i get: Exception int hread "main" java.lang.No ClassDefFoundError c:\A I`ve also tried using: [quote] java -cp . … | |
public class Palindrome extends JFrame { private String input;private Stack<Character> charStack = new Stack<Character>(); public Palindrome(String input) { this.input = input; fillStack(); } private void fillStack() { for(int i = 0, len = input.length(); i < len; ++i) { charStack.push(input.charAt(i)); } } private String buildReverse() { StringBuilder result = new … | |
Hi... I have come acroos with this new problem - Integration in Java. I need to use integration (Mathematics operation) in Java. Is this possible...? and if yes, then how....and which package I will need to use.....which class and everything. I need help on this asap. Is anybody up for … | |
hey guys any 1 know how 2 create a exit button in jcreateer... because i don't hav a clue how to do it..... i would really appriciate it ..if u guys can help me... thank u ps: if the method is simple..its better..coz im just started java.. thank u again | |
I have two user accounts on my computer and they are both administrators. I have downloaded and installed Java. It runs fine for one of the users but not the other user. Why can't both user use Java when it is already installed on the computer? | |
I would not be posting right now if it weren't for the fact that I've exausted my resources and have no where else to turn for a solution. First of all, let me give you guys a .class file, that when compiled, does exactly what my program is -supposed- to … | |
Hi I have a homework assignment that is due today. I've been working on it all week, but I just can't get it. My assignment is to write a program that creates a stack and tells if its a palindrome. Here's what I have: import javax.swing.JButton; import javax.swing.JFrame; import java.util.Stack; … | |
Hi everyone, Sorry to ask this question but i just wanted to clear something. If i were to serialize a java object using the ObjectOutputStream on a windows platform can i read back the same object file on a linux box that supports java. I can't really test this out … | |
hi all I have a class gui and a class server. I am using netbeans and there are no errors in those two classes. In the main class I have this : [CODE]public class Main { public static void main(String[] args) { MyServerGui g=new MyServerGui(); MyServer server1 = new MyServer(g); … | |
hi, can anyone tell me how to know the number of computers connected in LAN using java. actually i am doing a program and in that i have to find this , so can anyone tell me how to do this :?: | |
Which type of sorting would you prefer??Quicksort or HeapSort?Even though both of them have complexities of (N log(N)), quicksort in some situations degenerates to O(n*n).But however heapsort is known to be less efficient than quicksort!!So which one to use in practice?Under what criteria would you choose between those 2??An example … | |
Hi i was wondering if anyone can help me out. Im trying to make a applet when a button is clicked it will appear the name John . And when another button is pressed it will display "Smith" in a seperate text field. This is what I have so far. … | |
Well as far as i know there is nothing like JCanvas for swings....i read somewhere that Jpanel can be considered to be the Canvas of Swings....How true is that???? :?: | |
Greetings: I`m starting in Java and i`m having problems with compatibility between versions, in school they have an older version(I believe its 1.4.0 but i`m not completely sure) than the one i have at home(1.5.0_04), so almost every time i try to open a applet/application at school i get errors, … | |
how would i write the code to get this output? Play a pick four game? (enter Y to play pick four, anything else for pick 3) y How many chances do you want to buy? 5 Your bets: [[10, 6, 16, 9], [14, 4, 2, 12], [3, 16, 16, 16], … | |
Hi i am supposed to make a program to generate 3 or 4 random numbers and tell if the user has won this is what i have, i think i am going to try and use arrays instead. import java.util.Random; public class pick{ public void reader( String s, BufferedReader r){ … | |
hi everyone, how would i know if my server is working? I mean I did ping ipaddress:host but said could not find the host. thank you | |
[COLOR=Red][COLOR=Red][/COLOR] i am trying to past an image into my java program given the starting point and the ending point..,, gc.drawImage (m_image,0,50,120,15this); but its not working can you help me please | |
hi I know that I have asked pretty much question recently.. I'm learning java myself and hence kinda can't really understand the `isDigit` method.. error is cannot resolve symbol method isDigit(char) I imported `java.lang.*` as well already . public static boolean DigitValidation(String colour) { boolean flag = true; for (int … | |
I am trying to develop an application in which i need to open an internal frame in a simple frame......with the click of a menu......is it possible????How?????The internal frame does open in a new frame but doesnot open in the same frame....what can be the reason......... :cry: | |
| Hello every1, My assinement is like so. I need to write a program which accepts a word at input and then checks to c if it is a palindrome. My teachers says that it must be dun using stacks :rolleyes: otherwise we won't get any marks. I have no idea … |
Hey guys, I'm trying to write a code that reads in a .dat file from the SSH shell command line. example: java Prog1 xxxx so from the shell command line i want it to run Prog1 then read in the contents of the xxxx file All the code I look … |
The End.