Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
60% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #4K
~3K People Reached
Favorite Forums
Favorite Tags
java x 7
Member Avatar for albert1901

Hi everyone, I have a system where a user can order some predefined items. To do this, I have been using a switch statement, e.g: [CODE] System.out.println("Product?"); System.out.println("\n1. Chair\n2. Table\n3. Desk\n4. Other"); int sel = 0; sel = console.nextInt(); switch(sel){ case 1: <code> case 2: <code> case 3: <code> [/CODE] …

Member Avatar for sennat_26
0
141
Member Avatar for sennat_26

hi all, thanks for viewing this post.. i have a java constant class for label and button [CODE]public class ButtonConstant { public static final String EXIT=ButtonConstant.getString("BUTTON_CONTENT"); private static String getString(final String key) { System.out.println("inside buttonconstant"); return new LocaleHelper().getString(key); } } [/CODE] here the button content is the key which is …

Member Avatar for javaAddict
0
143
Member Avatar for ubi_ct83

Hi and thanks for viewing my thread, i have a problem with JComboBox. in my situation, i have a code that display JTextArea and JComboBox. this is my code: [code] public class JScrollPanes extends JApplet { //-------------------------------------------------- static String[] t_value2 = { "2", "3", "4", "5", "6" }; // ----------------------------------------------- …

Member Avatar for javaAddict
0
61
Member Avatar for m.sagar1990

hi...... i am working on network Monitoring project.[I] am facing lot of problems in 1)getting the api's (functions) for particular feature.. where can i get those api's for my project.... 2)I am trying SNMP api to work on the project which is in package src,com,sun,jmx,snmp but when i try to …

Member Avatar for sennat_26
0
78
Member Avatar for sennat_26

Hi, Im currently in a situation to get all the application name that is currently running in windows but i can get only the processes that is currently running using the following code Process p = Runtime.getRuntime().exec("tasklist.exe /v "); Can anyone help me out in getting the application name... Thanks …

Member Avatar for sennat_26
0
2K