Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
java x 37
Member Avatar for Shveetis

This is my code.. But the image doesnt appear on the frame when i run the program Please help JLabel label = new JLabel(); String path = "C:/Documents and Settings/Administrator/My Documents/My Pictures//22.bmp"; try { URL url = new URL(path); BufferedImage image = ImageIO.read(url); label = new JLabel(new ImageIcon(image)); } catch(Exception …

Member Avatar for Shveetis
0
111
Member Avatar for Shveetis

I am trying to write a code for sending a mail in JAVA.. And I am getting the error [code] javax.mail.MessagingException: Could not connect to SMTP host: mail.yahoo.com, port: 25; [/code] What can my mistake possibly be..?? Please help me find my mistake..

Member Avatar for Shveetis
0
266
Member Avatar for Shveetis

Hello... I have implementd a user interface and I need to update the user interface every 5secs widout requiring to draw the entire JFrame again.. is dre anything that can help me change my textfield values every 5secs without affecting the other issues on my interface??

Member Avatar for Shveetis
0
123
Member Avatar for Shveetis

[ICODE] abstract class Trial implements ClassLoadingMXBean, ThreadMXBean { public static void tri() { ClassLoadingMXBean classmxbean = ManagementFactory.getClassLoadingMXBean(); ThreadMXBean threadmxbean = ManagementFactory.getThreadMXBean(); MemoryMXBean memorymxbean = ManagementFactory.getMemoryMXBean(); OperatingSystemMXBean osmxbean = ManagementFactory.getOperatingSystemMXBean(); List<GarbageCollectorMXBean> gcmxbean = ManagementFactory.getGarbageCollectorMXBeans(); int load_class_cnt = classmxbean.getLoadedClassCount(); long unloaded_class_cnt = classmxbean.getUnloadedClassCount(); long total_load_class_cnt = classmxbean.getTotalLoadedClassCount(); // System.out.println("The number of classes …

Member Avatar for Shveetis
0
130
Member Avatar for Shveetis

I have created a Jframe and included 10labels and 10 textfields in it when i try to run the program, it does not show all the labels and textfields.. sometimes all are visible if i run again then few disappear.. at times they r visible for a few secs and …

Member Avatar for javaAddict
0
81
Member Avatar for Shveetis

Is it possible to set the value of a JTextfield in a class in which the textfield is not declared or created..?? How can one do that??

Member Avatar for Shveetis
0
140
Member Avatar for Shveetis

package monitoring; import java.awt.event.*; import javax.swing.*; import java.awt.*; import java.lang.*; import javax.swing.JEditorPane; import monitoring.task.jvm.JVMMonitoringTask; public class home extends JFrame { private JFrame j1; private JPanel c1; private JLabel m1; private JLabel l1; private JLabel l2; private JSeparator js1; private JButton j; private JButton s; private JButton tc; public home() { …

Member Avatar for Shveetis
0
72
Member Avatar for Shveetis

I have established a connection with a website using the HttpURLConnection.. Now I need to retrieve the number of http requests to that site...and other such parameters.. How can I do this..Anyone can help??

Member Avatar for Phaelax
0
67
Member Avatar for Shveetis

Hello everyone.. I need some basic help in the monitoring of a website.. Can anyone out here help me with the retrieving of the URL of a website..?? Thanks a lot in advance..

Member Avatar for Shveetis
0
80
Member Avatar for Shveetis

Hello everyone.. I need to retrieve the number of classes loaded from the MBeans and I am facing problem with the same... Is there any specific package to be imported?? I am unable to work it out though it is really simple.. Thanks in advance...

0
71
Member Avatar for Shveetis

Hello everyone.. I am trying to retrieve a URL of applications from a text file... My text file contains 3 URLS for 3 applications say for example : C:/ABC.java C:/JVM.java C:/Tomcat.java I have tried implementing a code for the same but when I try to copy the URL into a …

Member Avatar for Phaelax
0
96
Member Avatar for Shveetis

Hello every1... I am developing a project in JAVA.. My project is APPLICATION MONITORING WIZARD..!!! Can I get any help..?? Even if I get an idea as to how I start off, will be QUITE helpful.. The applications that I am planning to monitor include : 1.JVM 2.Tomcat server 3.Website …

Member Avatar for Ezzaral
0
82