- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
- Interests
- Java, C++, Arcgis, walk around nature
24 Posted Topics
Hello Everyone, I understand this is a basic problem, with a simple solution, but I cannot find a way to fix it. I'm trying to add a Jpanel to a JFrame and when I do the following. g.drawString("HELLO", 500, 0); The string is not seen on screen now if I … | |
I'm trying to learn exactly what is MVC or MVC patterns in code. I have done some research to a point where I believe I understand the meaning and use of this idea... But I do not entirely understand the concept. Is MVC( Model View Controller) pretty much, trying to … | |
Hello fellow Daniweb members, A relative is a film maker in a foreign 3rd world country, with poor services to help him construct a website for his films and small company. I, trying to be helpful, said that I could provide him with a model of what his website would … | |
I'm at the moment sure that I want to be a Computer Sciencetist. Now, what I would like to do in the field is unkown to me. I have tried making games ( Which I never finish), and physics simulation using graphics which I enjoy. I have also done Desktop … | |
Hello forum, I have been asign a presentation in novelty detection. I'm searching the internet and many of the articles I find are either too advance or too simple. Does anyone have/ known good articles about novelty detection? | |
I have a test tomorrow about some few things I just can't quite understand/grasp to well. I forgot to ask these questions in class which is something unintelligent to do. If the computer uses 8 bits to represent a real number, assume the radix point is always between the 3rd … | |
Hello forum, Vaironl here. I already asked this question with no luck. So now I will to repost it without the code. I have a JPanel which contains labelsand JTextField + other components. When I minize the window and then restore it The components stay in place but the are … | |
Hello forum, Vaironl here. I have a question, which has been bothering me quite a bit for a while now. I would like to say, I love programming. Making UI's, making desktop and mobile applications. I started to program recently about 1 year now. I'm going to college with a … | |
Hello forum, Vaironl here. I have a little problem, in a fairly big piece of code. I'm making a recipe application, which is working fine, but there is one minor error. If I minimize the screen and restore it, some of the components inside it are somehow re sizing of … | |
Hello forum, Vaironl here. I have a small question, I'm making a new screen using the GridBagLayout, since my old screen was using absolute positioning. I'm using a JScrollPane and setting a subPanel in it. THe subPanel contains 40 labels saying Ingredient. For some reasong the Ingredient Scroller will take … | |
Hello forum, vaironl here. I have a project which will be due at the end of the year. I'm taking in the user input from 1- 40 ingredients with, name, amount, an unit. Additionally I'm taking a description which is a paragraph, and I store these values in a text … | |
Could someone please tell me why is my JScrollPane not aligning together with my JLabel of description? I want my label "Description:" to be right next to my JScrollPane which contains a JEditorPane. [CODE]import java.awt.FlowLayout; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.SplashScreen; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import … | |
Hello forum, Vaironl here. I'm making a fairly big application for my IB- Computer Science class, and I'm having allot of trouble with the screen. I decided to use null layout to draw textfields, labels optionpanes, Jcomboboxes etc... a couple of things. In my computer it looks like this [URL=http://imageshack.us/photo/my-images/406/recipepicture.jpg/][IMG]http://img406.imageshack.us/img406/1593/recipepicture.jpg[/IMG][/URL] … | |
Even after I set a for loop in my constructor I receive a null pointer exception any ideas why? here is a bit of the code [CODE] private String[] ingredientName,units = new String [40]; private double[] ingredientAmount = new double [40]; public Recipe() // Recipe Constructor example { for(int setVals … ![]() | |
Hello Forum, Vaironl here. I'm going to ask a question, that will most likely annoy you all, but first let me say this, I did some research but cannot use a Jscrollbar efficiently. That being said, I want to give more details. I'm trying to add a scrollbar to a … | |
Hello forum, Vaironl here. I believe this questions has been answered before, but I cannot find the answer.. weird. I have a class which is called panel and extends a JPanel and a paint method. For some reason my Jlabel is not appearing, I read common painting problems, and tried … | |
I have a recipe class which has a constructor, the constructor takes in 7 parameters = RecipeName,AuthorName,Ingredients,Ingredientamounts,rating,servingSize,Instructions I'm trying to set those values using the scanner, but I don't know how to make it work since I have the scanner method inside of the Recipe class. So it looks kind … | |
I have a scanner which needs to read a recipe text file, specifically line 3. I want to read all of the words in that line using a delimiter (which I already know how to use). Though I don't know how to make the scanner stop before going to the … | |
I had quiz today in my IB CS course, and I had a question I could not understand, I will try to stated as closed as possible. "There is an array of integers which holds an unknown amount of integers but it's not bigger than a 100. if a = … | |
Hello forum, vaironl here. I would like to notify you all that I'm in an IB- Computer Science class (I'm learning a lot as I go, since I promise to skip the normal CS course). I would like to know if I could design this frame for my final project, … ![]() | |
Hello forum: I have to set the position of 4 labels, though in this example I'm only starting with one. for some reason even though I do setLocation(40,50) it is not working. Any ideas? The code of the small part ; If you guys want the entire program Ill post … | |
Hello forum, Vaironl here. I have to do an assignment for school and I was about 3 hours designing the prototype and everything was going right but I had to add arrays and a for loop to my system and after that everything just got ugly. Therefore I started from … | |
Hello forum vaironl here, I'm having a little bit of trouble with a school assignment which is storing up to 10 names and printing them out in the command box or just printing out the names if the user presses -1. For some reason my loop doesn't wait for the … | |
Hello, I'm a student in a summer workshop and i'm trying to make a python table from which people can choose the type , and within a mile radius. It's suppose to be compatible with an Arcgis map. If anyone knows how to make something similar please tell me how … |
The End.