No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Hi! I'm sitting with a gui bug that I have been stuck with for a while. When a "view" is changed from one "view" to another, the new "view" doesn't get painted properly. The previous view is visibile randomly in the background. I can't reproduce this in the dev environment … |
|
So I have a phpbb forum (where I'm the admin) and what I would like to do is to write a simple program that logs in into the Admin Control Page (ACP), navigates to the maintence section (where a backup of the database is located) and then download a backup … |
|
Re:
public class Stack extends LinkList{ public Stack(){ public void push (Object element) { insertAtFront (element); } public Object pop(){ return removeFromFront(); } public Object peek(){ return getFirst(); } } Im trying to create a movieApp using pop push and peek method(Stack). But once the class got compiled, it shows a … |
|
Say I have an image-generating website and every image is unique, and there is no way to know of the images beforehand, and each image has it's own page. On a button-click I would have to generate this unique (.JSP) file/page and then display the image in that one. e.g … |
|
Re:
I am trying to create a rudimentary number guessing program with java, and it is not working out. I think i have some useless stuff in there, but whatever: import java.util.Random; import java.io.* ; public final class Number_guesser { public static final void main(String... aArgs){ InputStreamReader istream = new InputStreamReader(System.in) … |
|
Two parted question really... First off, I've been trying to enable my SQL Server 2008 R2 to allow remote access so my friend can view it from his RDBMS (also SQL Server 2008). I've enabled TCP/IP, I've allowed Remote Access/Connection, I've opened TCP and UDP Ports and also added the … |
|
I'm trying to create a jUnit test for my EJB's and if my app just contains a few beans everything's all good but as soon as I incorporate JPA and entity-classes my jUnit test blows up. My test fails at ejbContainer = javax.ejb.embeddable.EJBContainer.createEJBContainer(); and the stack trace says the following: … |
|
I'm making a website and of course want to incorporate memberships and logins, etc and while I understand the theoretical application of salting and hashing a user-inputted password to save the encrypted pass in my database, I'm not sure on the approach... What I would do is get the hashCode … |
|
I figured this would be the best suited place to post this since this isn't really language-specific... So I'm wondering how a try/catch statement [I]actually[/I] works (I know how to use them so that's not what I'm asking), like what happens on machine-level or runtime-level etc when a try/catch is … |
|
Would it be possible to use JavaScript with C# (or Java, Python etc) for the sake of getting a sweet UI. Say for example I have a program written in C# with a ok-looking GUI which holds some panels, a few buttons, radiobuttons, the usual stuff. Would I then be … |
|
Re:
Interface: [CODE]import java.awt.Rectangle; public interface Doubler { public void makeDouble(Rectangle newRectangle); }[/CODE] [CODE]import java.awt.Rectangle; public class RectangleDoubler implements Doubler { private double x, y, width, height; RectangleDoubler() { x = 0.0; y = 0.0; width = 0.0; height = 0.0; }//end of default constructor public void makeDouble(Rectangle newRectangle) { x … |
|
Re:
Hey, I am kinda stuck with the way I should structure my Project. Was going well till now, but now it seems I'll have to re-structure it. My project is Peer to Peer chat and File Sharing. It performs device discovery, chat and file transfer. I plan to implement it … |
|
Re:
[B]Hi guys Whenever I run this program, some weird characters like: ([/B] [COLOR="Green"][I@1f436f5[/COLOR] [B]) appear.[/B] [CODE]int[] list= new int[3]; Scanner scan = new Scanner(System.in); for(int i=0;i<list.length;i++){ System.out.println("Enter a number:"); list[i] += scan.nextInt(); } System.out.print(list);[/CODE] [B]How can I fix this? It is supposed to print the numbers entered from the user … |
|
Re:
I have using following code over jdk 6.0 but after first round it doesnt work .... [code] if(table.getRowCount() -1 == table.getSelectedRow()) table.editCellValues(0,columnno); else table.editCellValues(table.getSelectedRow(),columnno); [/code] These lines are in mouse clicked method... Problem is when it reaches to end, and when fw button is pressed it jumps to another column.... … |
|
Re:
I have the following code and I want to move from one button to an other depending on the roll of the dice,for example if the dice rolls 5 i want to go to (1+5) six and to put a diferent color to it and so on.Can you help me. … |