30 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for sana.f.qureshi_1

hello good people, i have created atab control and added a gridview in it. When i run it this is how it shows: ![42e98ae1ab28208a1d5964503f00cecd](/attachments/large/4/42e98ae1ab28208a1d5964503f00cecd.png "42e98ae1ab28208a1d5964503f00cecd") i have tried adjusting the heights and widths of both but tono avail. here is my code: <ajaxToolkit:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0" Height="421px" style="z-index: 1; left: …

Member Avatar for sana.f.qureshi_1
0
574
Member Avatar for Pravinrasal

Following is my program i need to add scroll to jframe and I have paint method in it package other; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Container; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.ScrollPane; import java.awt.Stroke; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.geom.Line2D; import javax.swing.*; public class MainDrawCycle extends JPanel implements ActionListener { …

Member Avatar for Pramodkumar_1
0
7K
Member Avatar for joshl_1995

Hello Community, I would like to know if there is a way to get the corresponding list index of another list like below: Dim panelTitle As New List(Of String) panelTitle.Add("First Panel") panelTitle.Add("Second Panel") panelTitle.Add("Third Panel") Dim panelName As New List(Of Panel) panelName.Add(Panel1) panelName.Add(Panel2) panelName.Add(Panel3) So when I choose "Second Panel" …

Member Avatar for joshl_1995
0
255
Member Avatar for CoilFyzx

Hello good day. I have an idea for my program. I have a Table in my display. I want to add a Component to - let's say - the right of my screen. When I click this component it should display to me buttons and other components that I have …

Member Avatar for JamesCherrill
0
529
Member Avatar for kjklls

I have a tab panel on form1 and on the 1st tab there's a button and when i click this button it will enable a function. what i want to do is to work on other tabs while the function on the 1st tab is still executing. is there anyway …

Member Avatar for Reverend Jim
0
258
Member Avatar for Start4me

I have a listbox with items and a panel. What I want to do is when I click on an item, a label shows up in a panel, which was already there before the item was clicked. I've managed to show the label, but it didn't add to the panel, …

Member Avatar for Start4me
0
290
Member Avatar for TIP.Synergy

Hello, I want to move a panel smoothly like a form. anybody can help me please? thanks ^_^

Member Avatar for Start4me
0
5K
Member Avatar for boher

In my project, I have two seperate forms and in one of them I can add various panels using a button. After adding let's say 5 panels I click on one of them and I need the code to tell me which panelI clicked on. The reason I need this …

Member Avatar for Pgmer
0
661
Member Avatar for kny_jay88

Hi, i need some code for slide out panel that will pop out when i scroll down like this one, [Click Here](http://download.cnet.com/RealPlayer/3000-13632_4-10073040.html?tag=main;lsr) It's very cool. please help.

Member Avatar for ome2012
0
191
Member Avatar for Srin

I want to create a java application where you can build simple logic circuits (just started learning java recently and it was just a random project idea I got off the net) Ultimately I want the gates as icons on a pane that users can drag and drop onto a …

Member Avatar for NormR1
0
542
Member Avatar for fusionking

I am trying to create a number of panels that can expand and collapse like an accordion, but more than one can be open at one time. There's an image of an arrow that, when clicked, expands or contracts the panel. Each image of the said arrow has its own …

Member Avatar for fusionking
0
243
Member Avatar for M.Waqas Aslam

hello ! i am developing an desktop application , i want to make my menus just like in VS2008 have tool box , ,when we click on the main tab it will open and slid down , i want to make same thing , is there any one who guide …

Member Avatar for M.Waqas Aslam
0
2K
Member Avatar for uurcnyldrm

Hi people, How can I put a JRadioButton wherever I want in a JPanel? I tried setLocation() but it did not change anything. It is still on the north-center part of the panel. I think I'm missing something, but I can't figure it out. Thank you in advance.

Member Avatar for NormR1
0
184
Member Avatar for Begginnerdev

I have a question for all of my fellow Daniwebbers. If I place a panel within another panel, can I "click" the panel later? In other words, if I am able to click the panel, can I reference that panel in code for manipulation? Such as flipping or rotating the …

Member Avatar for Begginnerdev
0
160
Member Avatar for jackparsana

hi please help me to do that.. i have one form in asp.net. In that, i have one dropdownlist box control and near that one linkbutton "Add", one hidden textbox is there. when i click on Add button dropdown will hide and show textbox in their place. i want to …

Member Avatar for jackparsana
0
243
Member Avatar for mehmedean

Let's think about a small program that has a form and two panels. There is a menu strip at the top and under the "File" menu there are 2 options: "New Form" and "Admin" (and "Quit"). There are 60 fields in different groupboxes in panel1 (a detailed registration form). A …

Member Avatar for mehmedean
0
1K
Member Avatar for tapandesai007

I have form where 4 buttons(Platinum, Diamond, Gold and Reset) are there, I have 3 Panel Control one for each of the first 3 buttons, what I want to do is that when I click on any one of the first three buttons the Panel for the respective buttons should …

Member Avatar for nick.crane
0
340
Member Avatar for Srin

My panel's paintcomponent method draws a line based on the initial click and the current position as the mouse is dragged. Releasing the mouse leaves one line from the mouse press location to the mouse released location. The problem is. on the next click/drag, the old line disappears when the …

Member Avatar for Srin
0
1K
Member Avatar for duffsil

wxpython i cant figure out the problem. it says that the global neme 'panel' is not defined. Traceback (most recent call last): File "C:\Users\Daniel\Desktop\Duffan Teorem", line 34, in clickbutton wx.StaticText(panel,-1,media,pos=(150,240)) NameError: global name 'panel' is not defined could someone please help me to figure tha problem out? Thanks in Advance …

Member Avatar for duffsil
0
294
Member Avatar for jackparsana

hi, please help me to do this. i want to display one panel on top space. and i want one button on that panel to close itself. please help me. thanks in advance Jack

Member Avatar for jackparsana
0
313
Member Avatar for SMITA6076

I have a [ICODE]JFrame[/ICODE] window to which I am trying to add 3 panels. One panel is for input (text areas and their labels which I already have arranged within the panel), one is for a set of buttons, and one is for output. I want the the input and …

Member Avatar for JamesCherrill
0
387
Member Avatar for lacoffo

Hello everyone :) I'm learning Java and I'm creating a pong game. There is something I don't understand how to do though. It's how do I make it so that when a button in one panel is pushed, it calls a method in another panel. Let me quickly explain the …

Member Avatar for lacoffo
0
827
Member Avatar for Progr4mmer

I wanted to know if its possible to change the text of a JTextArea or JTextPanel from another method and if so how?

Member Avatar for Progr4mmer
0
194
Member Avatar for SoftwareGuy

Hi. This is probably too easy, but... Can anyone tell me how to add or remove a checkbox from a panel by using the Designer? The only samples I could find online had the code nside an arbitrary method called CreateMyPanel(). I'm looking at a file called MyControl.Designer.cs, and inside …

Member Avatar for SoftwareGuy
0
215
Member Avatar for jackparsana

I have a Problem regarding wordpress Redirect. I have panel in Right-side in this there is one form page. its for contact mailing. In this form i have submit button. when i click on the submit button i want to get the thanks page on the left side body contain. …

Member Avatar for jackparsana
0
195
Member Avatar for kruxena

Hi guys, can you please help me out. Scenario: I have 14 panels in my form, the user then input a number in the textbox. Then this textbox will now determine how many panels will be enable. My formula would be, userinputtextbox/0.5=panels to be open. Example: 3/0.5=6. So far this …

Member Avatar for kruxena
0
300
Member Avatar for getnit

Hi, My front end has a Tshape(Cirle) Over a Panel and I am trying to move the circle on the panel and get the X and Y values and send these values through comport for serial communication. However I am able to retrieve the values but the shape is flickering …

Member Avatar for getnit
0
933
Member Avatar for zilonox

First, let me start off by saying I am using ASP.NET 2.0 with VB as the default language using Visual Studio 2005. I have a form that has an asp:panel on it that is seeded with an iniitial control. Through the use of the form, additional controls may be dynamically …

Member Avatar for zilonox
0
451
Member Avatar for milosz

hi, i am having problem with closing user control. i have some function in my parent form(with panel2): [code=c#]public void ActivateUserControlOne() { panel2.Controls.Clear(); UserControlOne = new UserControlOne(); panel2.Controls.Add(this.UserControlOne); } [/code] ...and UserControlOne appears. i want to close(remove) UserControlOne on Cancel()(Cancel is function in UserControlOne) and load another User Control (UserControl2) …

Member Avatar for kvprajapati
0
16K
Member Avatar for Clawsy

Please someone help me... why image panel not showing that image in the frame: [code] //image panel class import java.awt.*; import java.awt.image.BufferedImage; import javax.swing.*; public class ImagePanel extends JPanel { private BufferedImage img; public ImagePanel(BufferedImage img) { this.img = img; Dimension size = new Dimension(500,500); setPreferredSize(size); setMinimumSize(size); setMaximumSize(size); setSize(size); setLayout(null); …

Member Avatar for Clawsy
0
202

The End.