3,671 Topics
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 …
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 …
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 …
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 …
By Pressing F3 on MDI Form(Parent) How can a sub menu Form will open
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
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 …
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 …
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?
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...
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 …
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 …
Hello, anyone can help me to complete special grids on picture box. My program is running, but drawing is not so fast !
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 …
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 …
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 …
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
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 …
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 …
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 …
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 …
Any one here can tell me how to pop up an html file from your GUI... any classes to be used :cheesy:
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.
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 …
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 …
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.
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 …
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 …
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 .
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] …
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] …
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?
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 …
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 …
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?? :)
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 …
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.
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 …
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...
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 …
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 …
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 …
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
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 …
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 …
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 …
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.
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 …
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 …
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 …
The End.