No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
15 Posted Topics
Re: Just a FYI [url]http://docs.oracle.com/javase/1.4.2/docs/api/javax/swing/SwingUtilities.html#invokeLater%28java.lang.Runnable%29[/url] Sometimes when I work with SwingUtilities.invokeLater(Runnable) it doesn't quite work like I want. Sometimes all of the GUI is updated, sometimes only part of it, sometimes everything but 1% of the last piece of GUI is updated super fast and the rest percentage takes what seem … | |
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: Yes, your LinkedList class will greatly benefit from using generics. | |
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: and the main method looks like this public static void main(String[] args) { } | |
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: have your [I]makeDouble()[/I] method return a Rectangle. So something like [CODE] public interface Doubler { public Rectangle makeDouble(Rectangle newRectangle); } [/CODE] | |
Re: [QUOTE=JamesCherrill;1731408]Without a long look at there whole thing it's hard to be very specific, but in general: If you divide your application into smaller and smaller components (classes, methods etc) then each of those components becomes simpler and easier to understand (which is good) until eventually you reach a point … | |
Re: @OP: For future reference and to clarify, the weird symbols are actually: The class name followed by an "at" sign (@) and the unsigned hexadecimal representation of the hash code | |
Re: Try something like this [CODE]if((table.getRowCount() - 1) == table.getSelectedRow())[/CODE] | |
Re: Your GUI problem aside, you've got some code design issues to deal with. Why is your button class (not going to get started on the Java Naming Conventions either) a JFrame? It's not. Your random class is not a JPanel... These are things you need to fix before you start … |
The End.