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:
[CODE]public JLabel SetImage(String path) throws IOException { ImageIcon myPicture = new ImageIcon(path);//ImageIO.read(new File(path)); JLabel picLabel = new JLabel(); picLabel.setBounds(0, 0, 2, 2); picLabel.setIcon(myPicture); pnlImage.setLayout(null); pnlImage.add(picLabel); pnlImage.repaint(); pnlImage.revalidate(); return picLabel; } try { String Ref = txtRef.getText(); SetImage(); JLabel label = new JLabel(); label = SetImage("C:\\Users\\Documents"); App\\ImagesDoc_001.jpg"); pnlImage.setLayout(null); pnlImage.add(label); pnlImage.repaint(); pnlImage.revalidate(); … |
|
Re:
I get pages taking a long time to load or they won't load at all. I can connect to my games, and ventrilo. Firefox and Internet Explorer both won't work. I get Problem Loading page. Connection has timed out. Server is taking too long to respond. It tells me to … |
|
Hi i am doing a student grade lab where the student enters a grade they got on a test and they get a letter grade. My program only gives the user a F even if it should be another grade. This is my code. [CODE]strT1 = JOptionPane.showInputDialog("Enter 1st test score:"); … |
|
Is there a way to convert a program in netbeans to an android app? |