3,671 Topics

Member Avatar for
Member Avatar for metkillerjoe

I have been trying to get a simple linear equation to draw. I can draw the axis fine but the equation will not draw. I think one would need a save/refresh function(s), but I don't know how to go about doing this: [code] pw = pictureBox1.Size.Width; ph = pictureBox1.Size.Height; w …

Member Avatar for metkillerjoe
0
1K
Member Avatar for endsamsara

Hi, I have some rectangles in the result of a program And i want to make a function called menu (called pressing F1) that takes me to another screen and gives me some options, but when i press F1 the screen is all gray!!! and the rectangles are not there …

Member Avatar for WaltP
0
107
Member Avatar for Wigglesworth

Hello my name is chris. I play Counter Strike and Americas Army ocasioanlly. So I have an Idea that would make playing alot easyer, if I could find or make a program that I could open to run, and use task manager to close. I need the program to run …

Member Avatar for Phaelax
0
237
Member Avatar for veeyen

Hi I am very new to MySql. I want to use Navicat along with MySql server to develop and maintain very simle database in future. Up to this point it is OK. I want to develop and maintain a small customer database. My question is do I need a GUI …

Member Avatar for jbennet
0
122
Member Avatar for imtiazbasra
Member Avatar for nagramana

Is there any way to arrange the Windows Forms in C#. One of my application I have 6 forms to display same time. Is it possible to arrange like MDI form arrange. Nagramana

Member Avatar for nagramana
-1
76
Member Avatar for Tales

I need to create a Windows program which is meant for music students. The main frame needs to contain in the upper part a "word style" page with a partiture displayed, and the toolbar with the controls has to be in the lower part of the window. The idea is …

0
66
Member Avatar for talablink

i don't know how to add buttons to the code , it already has two buttons on it but i don't know how to add more...i just editted this one i've tried adding one more but it just won't work..it still does two things.. here's the code if you can …

Member Avatar for peter_budo
0
103
Member Avatar for Mr.UNOwen

I'm currently creating a program with some buttons and other stuff and I was wondering how do I create a background image with jframe? I don't see any set method for it. Is the there a way to do it?

Member Avatar for vinod_javas
0
161
Member Avatar for lotsofsloths

OK, I have ben programming for about 6 monthes but never done real graphics!! I was wondering, how i could implement graphics into a program?? If this helps any i am using Visual C++ 2005 Express Edition...

Member Avatar for Member #46692
0
125
Member Avatar for talablink

hello Can anyone please help me I need the code of an analog clock cause i don't know how to make one. I only have the digital clock and I thought it would be better if I used an analog and I can't find a good one. Cause the thing …

Member Avatar for Member #46692
0
72
Member Avatar for buildersmedia

Ok here goes, I am a mac guy, OSX is perfect for me, simple, does its job quietly and never gives me problems. Thats the only way I can handle any computer, trouble free. I now have a laptop (windows XP) that I bought for my ex-wife that she just …

Member Avatar for mepnoob2005
0
116
Member Avatar for Maritime

Hello, anyone can help me to complete special grids on picture box. My program is running, but drawing is not so fast !

Member Avatar for Maritime
0
81
Member Avatar for linux

I just started Delphi and wanted to toy around with some of the features of it, so I started to. I made a TRichEdit box on Form1. If I run the application and try to type in the textbox, nothing appears, the cursor keeps blinking, as if I did nothing …

Member Avatar for radu84
0
161
Member Avatar for bluebird

Hello, Please help me! I have stored values ( many types of variables) in an arraylist. They are values of linguistic pattern, trigger word, relevant count, irrelevant count and total count , relevant rate, rank. Their length is different from one to another. For example, linguistic pattern may be such …

Member Avatar for bluebird
0
146
Member Avatar for method_man

ive designed a GUI for a vending machine, but i have know idea on how to do one thing i need help calculating the users change the user types in e.g. 100 for coffee the cost of coffee is 60 and then the change appears in a new window i …

Member Avatar for jwenting
0
113
Member Avatar for nagramana

In my C# Win form application I used Datagrid which is added dynamically in run time to display data. But when I clicked on the grid some times it throws error like "Error when committing the row to the original data store" How to catch this error? Thanks Nagramana

0
55
Member Avatar for bhavna_816

I have a class MyDataGrid which is inherited from Datagrid which have two protected override functions. i want to register the events. for example public class MyDataGrid : DataGrid { protected override void OnMouseMove(System.Windows.Forms.MouseEventArgs e) { //dosomething } protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs e) { //dosomething } Now i want to …

Member Avatar for tonakai
0
171
Member Avatar for scru

I have a dynamically creasted grid of picture box controls, and I want to add custom events handlers to them and Im stuck. Event 1: User Enters with mouse Event 2: User Leaves with mouse Event 3: User Clicks with mouse btw, they're created when the form they are on …

Member Avatar for scru
0
315
Member Avatar for peter_budo

I'm trying to display text on GlassPane in front of image which I read in. There is no problem with image which does display but my text doesn't appear. What is wrong???? [code] import java.io.File; import java.io.IOException; import java.awt.*; import java.awt.image.RenderedImage; import javax.swing.*; import javax.media.jai.widget.ScrollingImagePanel; import javax.media.jai.NullOpImage; import javax.media.jai.OpImage; import …

Member Avatar for peter_budo
0
129
Member Avatar for Fd0

Hey there, My problem is probably simple, but I just can't seem to find a solution to it. I'm currently working on some sort of small RPG. Everything's running smoothly, but since I implemented the possibility to move your character, drawn Images tend to disappear randomly or not appear at …

Member Avatar for Member #46692
0
158
Member Avatar for Covinus
Member Avatar for peter_budo
0
98
Member Avatar for Cerberus

Hi, i have a jtextpane and a JComponet that displays line numbers. Does anyone know how i can get the startline and end line of the text that is currently in view on the JTextPane? Thanks.

Member Avatar for Cerberus
0
96
Member Avatar for Infarction

A project I'm working on has this awful problem wherein the JFrame refuses to resize in Linux. I've tried the [inlinecode]setResizable(true)[/inlinecode] method, both in the constructor and outside of it, but no go. It works fine on Windows. And I'm using Java 1.6 if that makes any difference. Am I …

Member Avatar for Infarction
0
138
Member Avatar for meha1331

This is my code, I could get the program to run before i tried to get it to display using a GUI interface; can anyone help please? //Inventory Program Part5 import java.util.*; //=============================import all java.util classes import java.text.*; import javax.swing.*; class Product //============================================start Product class { public String[] className; //=====================================class's …

Member Avatar for peter_budo
0
108
Member Avatar for edouard89

First of I would like to say hi to everyone as I am new to this forum. My problem is this. Can I some how use the [ENTER] key instead of the [TAB] key to skip from field to field? Any help would be greatly apreciated. Thank you.

Member Avatar for radu84
0
115
Member Avatar for scru

sigh... I need a way to make an image as a background for a window, and still be able to put buttons and other controls on top of it. I even tried using wxPython's wxPanel, but it proved a real pain because I found the documentation very sparce...:sad: (google didn't …

Member Avatar for vegaseat
0
2K
Member Avatar for Phaelax

vBar is the vertical scrollbar. Not matter what the current value of the scrollbar is it'll always set the maximum value, which makes absolutely no sense to me. I'm trying to get it so it only scrolls when the scrollbar is already at the end, or its maximum. (so users …

0
75
Member Avatar for RisTar

Is there a function that draw 2d objects like boxes and circles . I remember that in qbasic there was a few 2dobjects functions so i thought that there is a chance c will have some too. Thanks .

Member Avatar for Narue
-1
2K
Member Avatar for covertx

Hi all, I'm trying to add a little bit of extra functionality to my programme by using the Graphics class to draw lines in accordance to values held within text boxes... I've converted the values of two textboxes to Int32's like so: [CODE] gUK = Convert.ToInt32(tbUK.Text); gNotUK = Convert.ToInt32(tbNotUK.Text); [/CODE] …

Member Avatar for covertx
0
118
Member Avatar for covertx

Hi all, I'm trying to add a little bit of extra functionality to my programme by using the Graphics class to draw lines in accordance to values held within text boxes... I've converted the values of two textboxes to Int32's like so: [CODE] gUK = Convert.ToInt32(tbUK.Text); gNotUK = Convert.ToInt32(tbNotUK.Text); [/CODE] …

0
64
Member Avatar for jan1024188

I have a javac working in Linux, but I dont know how to get that in winows. Is there any nice GUI compiler for Windows?

Member Avatar for jwenting
0
174
Member Avatar for SoulDaddy

Hello, i am trying to make a CustomCheckListBox but i cant seem to get it to display my items the box itself creats fine and all the rest seems fine but it wont display my items any help on this matter would be greatly apreciated Thanks. here most of the …

Member Avatar for linux
0
468
Member Avatar for linux

I am currently writing a game in Visual Basic 6. It is a role-playing game that has many real-life features, like buying shops, cars, houses, and also joining a gang. I need help with something. On the main GUI, which has options for a job, like a shop owner, a …

Member Avatar for linux
0
208
Member Avatar for arjunsasidharan

hello ppl, i need to knw whether v can use opacity in a picture box.. wat i hav to do is i need to load few pics in a picture box n when t pic fades away a new pic loads up.. Any ideas?? :)

Member Avatar for arjunsasidharan
0
142
Member Avatar for kansmish82

hey guys, i need some real bad help for my c++ project......i'm making an analog clock in C++ graphics.........n my clock works just fine, except for the fact that i haven't as yet added an hour hand, :rolleyes: and yeah..my minute hand runs almost as fast as my second hand.:lol:.....plzzzzzzzzzzzz …

Member Avatar for WaltP
0
170
Member Avatar for hkBattousai

Hello, I am going to study MySQL on my web server. I would like to ask if there is a useful GUI tool for MySQL to create/delete tables and browse entries on my database.

Member Avatar for pty
0
141
Member Avatar for AlmightyCushion

When ever I run my program I get the following error and the toolbar is replaced with a white box and red X through it. I might be wrong but I bleieve it is something to do with the paint method so I posted up the code for my Paint …

0
41
Member Avatar for vinod_javas

what do i do for hiding the close button in frame.... for diabling i hav used this one.. JFrame.DO_NOTHING_ON_CLOSE its working fine... but i just want to hide the close button ..... pls help me out...

Member Avatar for jwenting
0
90
Member Avatar for livingsword

this is the code that i managed to write after reading for a while. [code] CubicCurve2D cubic = new CubicCurve2D.Double (20.0, 200.0, 200.0,270.0, 30.0,30.0, 250.0, 170); Graphics2D g2 = (Graphics2D) g; g2.draw(cubic); [/code] and this is the output, [IMG]http://img221.imageshack.us/img221/7728/exampletr0.png[/IMG] Now, like u have seen , everything works fine, i get …

Member Avatar for livingsword
0
161
Member Avatar for c# seeker

I'm using the following code to pass data to a table in my database. The datagrid consists of a bound column and 3 template columns (2 textboxes and a chackebox). The problem is that the values of these template columns cannot be read. (i.e. in the following code, values of …

Member Avatar for hollystyles
0
146
Member Avatar for alba07

I am supposed to do a sliding target class, then make a shooter class that shoots up three balls when the user clicks. I think I have the first two classes done, but I am stuck on the class that has three balls to shoot at the target. These have …

0
68
Member Avatar for vaniprahalathan

hi friends, i am doing one project ....in that i have one problem ..if anybody know that how to use popup menu (cut,copy,paste,delete)in textfield means pls help immediately ...... regards, vani

Member Avatar for peter_budo
0
58
Member Avatar for alba07

I am supposed to design a GUI for ls, where the user could select these options from pull down menus. After the user selects options, clicking on go should run the ls. The way I am understanding this is that could either use a text widget or labels. Here is …

Member Avatar for alba07
0
96
Member Avatar for Adrien24

Hi, I was wondering if any could help out a newbie in programming. I am currently in College taking Intro to Programming and I am having difficulties with making a Phone Words program that does the following: Transform words to numbers (Phone Numbers) and Transform numbers to words (Having a …

Member Avatar for Member #46692
0
139
Member Avatar for sri_Chennai

hi, i have 9 textbox in a form... my problem is first i entered some numeric values in each and every textbox then automatically sum all values and then display the one lable box... suppose u can delete any one value from any textbox... at that time minus the current …

Member Avatar for Member #46692
0
107
Member Avatar for mr.sweetchuck

Hi, I am writing a little GUI application and I want to set them up, so that they have a Windows look and feel. So far I can't seem to find anything workable.

Member Avatar for mr.sweetchuck
0
103
Member Avatar for peter_budo

yay this first time that I develop something larger ;) My problem: main method display a frame with buttons where you choose what function/action you want to perform. Once you press a button I want the main window become invisible and windows with option for function to become visible. So …

Member Avatar for peter_budo
0
140
Member Avatar for Skyblue

Can somebody help me with this please. i need to create a //calendar on the frame. i got the frame but the calendar is not woking. import jpb.*; import java.awt.*; import java.awt.event.*; import java.util.*; public class DayOfWeekAWT { public static void main(String[] args) { Frame f = new DayOfWeekFrame("Day Of …

0
56
Member Avatar for shazzy

hi everyone im shazna i got this mate that has been working ahrd on her java coding and now she is stuck as she lost her original file of the coding she is starting from her older version and she is lost because she cannot figure out what is wrong …

Member Avatar for Member #46692
0
94

The End.