Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Activity for programAngel‭

Type On... Excerpt Status Date
Edit Post #296117 Post edited:
4 months ago
Comment Post #296117 done, thank you
(more)
4 months ago
Edit Post #296141 Post edited:
4 months ago
Edit Post #296117 Post edited:
4 months ago
Edit Post #296141 Initial revision 4 months ago
Answer A: JOptionPane doesn't show; application combines Swing and console.
Apparently the JOptionPane is behind eclipse as it not not the top windows. It does "show" but only behind eclipse. Thanks FractionalRadix‭
(more)
4 months ago
Comment Post #296117 no, I don't see any error. But FractionalRadix‭ is right. The problem is that the JOptionPane is created behind eclipse and is hidden.
(more)
4 months ago
Comment Post #296117 you are right. Thank you. That was the problem. it was hidden behind eclipse so it looked to me as if the program stack.
(more)
4 months ago
Edit Post #296117 Post edited:
4 months ago
Edit Post #296117 Initial revision 4 months ago
Question JOptionPane doesn't show; application combines Swing and console.
What is wrong in the following code: ``` package oren; import java.util.Scanner; import javax.swing.JOptionPane; public class Main { public static void main(String[] args) { double x,y,z; Scanner scanner = new Scanner(System.in); System.out.println("what are the x and y si...
(more)
4 months ago
Comment Post #295611 in other word, interpreter always compile the code (including all step of compilation like parsing) and then run it. because the cpu run in any case can run only the machine code. So to say that the difference is whether the code is compiled once and kept as compiled binary or the source cod...
(more)
6 months ago
Comment Post #295611 By "compile," I guess you mean translating to machine code and executing it. But that is what happens every time an interpreter runs. It translates the script into machine code and then runs it. But in the case of compilation, like in C, it creates a binary shared library or a file once, and then...
(more)
6 months ago
Edit Post #295611 Post edited:
7 months ago
Edit Post #295611 Initial revision 7 months ago
Answer A: What are the criteria to define if a programming language is compiled or interpreted?
if the code is compiled everytime before running, then it is interpreted. If you get a ready executable binary and run it again and again then it is compiled. Java is sorted of both. you get executable binary of byte code, but every running jvm compile it again to machine code before running.
(more)
7 months ago