- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
14 Posted Topics
All, I have developed an application using RMI and am in need of help for the deployment of sed program as I have tried numerous different ways to release. Along those lines, I also am not too clear on the codebase and how to release to a [url]http://[I]hostname[/url][/I]:[I]port[/I]/[I]program_name[/I]. Here are …
No comment other than read the rules?
Regex and trim() will do the trick
All you need to do is create another JFrame and set it visible
kkcaddy, I would do some research in the Swing package of java for the GUI components and with that goes some research into the different type of layout managers to place them. cbarton.a
bertyhell, I love to use the GridBagLayout as often as I can for the control that it offers over the placement of the components, however in this case, I would have 2 panels, the Call and Date panels with the data inside the call panel either a GridLayout or (my …
[URL="http://www.sun.com/training/certification/java/scja.xml"]http://www.sun.com/training/certification/java/scja.xml [/URL] Has some information, as well as [URL="http://www.google.com/search?hl=en&source=hp&q=scja&aq=f&oq=&aqi=g3g-s1g1g-s1g4"]http://www.google.com/search?hl=en&source=hp&q=scja&aq=f&oq=&aqi=g3g-s1g1g-s1g4[/URL] does.
dsmush, For String comparisions use the equals() method. For example, [CODE] if ( validUsername.equals(username) && validPassword.equals(userpassword) ){ response.sendRedirect ("../register.html");[/CODE] cbarton.a
browneyes123456, I would use some regex and String class manipulations, read up on the API about the wonderful String class. cbarton.a
nader_shadi2002, You are correct in that we like you to attempt the problem and let us lead you to the light. Saying that you have tried many times at it is great news and makes you unlike most participants in the forums, however if you post some code we can …
mahm240, Please describe your problem in detail so we can assist you with it. From what I can gather you want just to monitor traffic over a network? Or do you want to monitor user modifications to a network system? cbarton.a
eikal, You will want to instantiate a String to store the name you want to store the name in, after that do you will use your print code, then read it in using a Scanner's nextLine() method. [CODE]import java.util.Scanner; public class DaniProject{ public static void main(String [] args){ String name; …
Axn, I wouldn't sleep the Thread, I would use a timer to instance the events to fire a repaint(). Here is the working code with comments to help you learn what is going on: [CODE]import java.applet.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.Timer; public class DaniProject extends Applet { …
RTHANGAVEL, I would not use the repaint() method to refresh the contents of the JFrame, I would use a pack() method to show and resize the window. After cleaning the code up a little, here is what I believe you are wanting with comments to help you understand what is …
The End.
cbarton.a