I need help with javax swing again and I have this window where it will pop up but I need help with the drop down selection thing, how can I get it to where it will based on what I have selected open another window?
The picture of the window is an attachment.
But I need help if what I'm asking is impossible please tell me how I can get it to use the drop down button thing to work, sorry I'm new to this....
User Profile
Collapse
-
I need help with javax.swing again... sorry
-
nevermind i decided not to do it that way im closing this post -
-
Why does it say package does not exist?
I have these import codes in my java file and it says these packages do not exist. but they do and i have those classe files in those packages, i need help.
Code:import Work.LinearFunctions; import Work.SimpleArea; import RunAndRestart.BasicRun; import RunAndRestart.Restart; import Work.AbsoluteFunction; import Work.Volume;
-
Oh and if you have any tips on organizing code.. I would be much appreciative.Leave a comment:
-
How do I import code?
I have two files, one holds the code i want to send to another file how do i do this?
This is the code I have for the main file:
Code:package testingclasses; public class TestingClasses { public static void main(String[] args) { //code needs to be imported here. } }
Code: -
-
Thank you for the help, My mom knows I do this and wants to tell my FBLA teacher (Future Business Leaders of America)She thinks that they can help me get a job in the area I want to go in, witch you can guess, coding :). This program i'm making is to solve linear functions if you haven't figured that out already xD.Leave a comment:
-
How can I put this into a popup window?
How can I get this to work? I have the popup window where it pops up but I'm using Netbeans and the data I want in the popup box isn't in there.. it is in the netbeans runner thing. By the way don't judge the look of this code I except all criticism, but I'm only 13.
Code:package FunctionSolver; import java.awt.Canvas; import java.util.Scanner; import javax.swing.JFrame; public class Main extends Canvas {
-
How can I use this code as php instead of javascript?
How can I change this code from javascript to php?
Code:<script type="text/javascript"> function one() { var a= prompt('What is your choice? A, B, or C?'); if(a==B) { var b= alert('Correct!'); if(b==true) { require('problem2input.html'); } } else { var d= confirm('Incorrect!'); if(d==true) { location.reload(); } else { location.reload();
-
I'll just close this discussion and re ask another question on how to use php to use information from a button... i'll just try to figure out how to do all this stuff i need to do with javascript with the php server side code...
Thank you for the help anyways.. :)Leave a comment:
-
This is the code I have so far,
Code:<!DOCTYPE html> <html> <center><h3>What is an example of a unit rate?</h3></center> <center><p>A. A ratio showing how many pickles are canned in 4 hours.</p></center> <center><p>B. A Ratio showing how many problems solved in 1 minute.</p></center> <center><p>C. A ratio showing how many
Leave a comment:
-
so with what you are talking about can i bring in code from another page to paste a button and a form box onto a page? I'm trying to make that game i was making earlier better(just in case you remember)but, if the answer is correct it creates the next textbox and enter button. is this possible using what you are talking about?Leave a comment:
-
Is there a way you can include code from another document?
Is there a way you can include code from another document like you can with PHP?
PHP way..
Code:<?php include('name of document.php'); ?>
-
Okay I understand, well I have been able to find youtube videos describing what I need, but how do I trust them? It says I need to download something called "WAMP" for windows. I followed it and it worked is this the correct way? Also, I don't know who to chose for the best answer both of them are so great and helpful.Leave a comment:
-
What should I read or where should i go to learn php?
I'm trying to learn PHP for web development. This website is going to be used for my youtube channel. I need to learn PHP for a login box, comment box, and a way to record how many people comment or like my video on the website itself. I do not have any code I just need help on finding a place to learn this stuff at. Thank you for reading this. -
I'm trying to learn, because i really want to be a person who codes for a living.Leave a comment:
-
Yes it worked! Thank you. I added theCode:start();
Code:window.location.href='nextpage.html'
Code:<!DOCTYPE html> <html> <head> <title> Home Page </title> <style> </style> </head> <body> <script type="text/JavaScript"> function start() { var a= confirm("Are you sure you
Leave a comment:
-
oh and, Dormilich, I need to know how to run a function form within another function again, the post got deleted because it was too short.Leave a comment:
-
Ok I will edit the post.
I still have some work to do on it before I can post it.Leave a comment:
No activity results to display
Show More
Leave a comment: