Group, I've expanded a small app that started with 50 textboxes and labels to 200 of each. To hide and make these visable I use the codes lblProperty01.Visible = False tbxProperty01.Visible = True lblProperty02.Visible = False tbxProperty02.Visible = True This means there are 400 lines of code to hide and display the 200 textboxes and labels. I've got to believe there is a more efficient way to write this..... and one that will hide and display these controls much faster. Can you advise me as to what that might be? As always, thanks for your assistance! Don

Member Avatar
Member Avatar
+0 forum 8

Hello friend i am developing a new web portal in this portal one thing is also one user is visible online for another user which a user is add friend list but issu is that i have a worked on logout but what i will do when user close a browser where a profile is open. give me tip for doing this work.

Member Avatar
Member Avatar
+0 forum 1

This (http://jsfiddle.net/dPrXM/) is supposed to make two more fields appear when you click the more button, but it is unfortunately not working. I cannot for the life of me figure out why, but I am convinced that it's something very simple and probably pretty stupid.

Member Avatar
Member Avatar
+0 forum 16

I created a Crystal Report and added few text fields and database fields in it. But in report preview section, only report header and page header is visible. Details section is not visible at all. Plzz help.. ![8dccf3f1cd9578565f563b200a56fcc5](/attachments/large/3/8dccf3f1cd9578565f563b200a56fcc5.png "8dccf3f1cd9578565f563b200a56fcc5") ![c0e34b6d7fb3137bbb5d029330f38b44](/attachments/large/3/c0e34b6d7fb3137bbb5d029330f38b44.png "c0e34b6d7fb3137bbb5d029330f38b44")

Member Avatar
Member Avatar
+0 forum 1

** //When an item from the list is selected, a checkbox along with the drawn graphics schould appear. but only the graphics appear. Help? *basic** import java.awt.*; import java.applet.*; import java.awt.event.*; import java.awt.Checkbox; public class GetSelectedItemExample extends Applet implements ItemListener { Choice c; CheckboxGroup g1 = new CheckboxGroup(); Checkbox checkBox1 = new Checkbox("Red"); public void init() { c = new Choice(); c.add("Select Option"); c.add("Primary Colors"); c.add("Secondary Colors"); c.add("Tertiary Colors"); add(c); c.addItemListener(this); add(checkBox1); checkBox1.setVisible(false); } public void itemStateChanged(ItemEvent e) { repaint(); } public void paint(Graphics g) { String s1 = c.getSelectedItem(); if(s1 == "Primary Colors") { g.drawString("You have chosen:"+c.getSelectedItem(),100,100); g.setColor(Color.RED); g.drawRect(90,120,100,100); …

Member Avatar
Member Avatar
+0 forum 9

Alright so Im making this sports application where whenever the user clicks on a radio button with a designated sport a message apporiate to that sport will come up . I also want to have a 'different' picture show up for each different click of a corresponding sport . Would I just layer some textboxes and set autocheck property to false I tried doing that but nothing would display at all. also what would be te best way to store pictures to use them in this program should I grab a URL or store them in a local folder . …

Member Avatar
Member Avatar
+0 forum 1

Hi guys, I'm new here so please help me. I wanted to create a memory game where in the user clicks on two images and matches them. However, in the middle of creating it I encountered a weird problem - whenever I set the "Visible" property of the PictureBox on "true" it doesn't show up but doing the opposite, setting it to "false" it works just fine. Here's the part of putting images in the PictureBox and setting its visibility to "false" and "true" on the "picture_Click" event. [CODE]....... //assigning images in every picturebox in random and at the sametime …

Member Avatar
Member Avatar
+0 forum 7

Hey here's my code for functioning like MS Paint. But JLabels are just not visible. Please Help. [CODE] import java.awt.event.*; import javax.swing.*; import java.awt.*; import java.awt.image.*; public class MSPaint { JFrame frame; JPanel panel; Painting paint = new Painting(); public MSPaint() { frame = new JFrame("MS Paint"); frame.setSize(1024,768); panel = new JPanel(); frame.getContentPane().add(panel); panel.setLayout(new BorderLayout()); panel.add(paint); frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); frame.setVisible(true); paint.getComponent(0).requestFocus(); } public void init() { } public static void main(String[] args) { MSPaint msp = new MSPaint(); } } class Painting extends JPanel implements MouseListener, ActionListener, MouseMotionListener { Raster r; int x1, y1, x2, y2; boolean point = true, circle, line, …

Member Avatar
Member Avatar
+0 forum 2

The End.